COP8SA-DM National Semiconductor, COP8SA-DM Datasheet - Page 93

no-image

COP8SA-DM

Manufacturer Part Number
COP8SA-DM
Description
MODULE DEBUGGING FOR COP8SA
Manufacturer
National Semiconductor
Datasheet

Specifications of COP8SA-DM

Module/board Type
Debugger Module
For Use With/related Products
Cop 8
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
*COP8SA-DM
itself.
Each addressing mode has its own advantages and disadvantages with respect to
flexibility, execution speed, and program compactness. Not all modes are available with
all instructions. The Load (LD) instruction offers the largest number of addressing
modes.
The available addressing modes are:
The addressing modes are described below. Each description includes an example of an
assembly language instruction using the described addressing mode.
Direct. The memory address is specified directly as a byte in the instruction. In
assembly language, the direct address is written as a numerical value (or a label that has
been defined elsewhere in the program as a numerical value).
Register B or X Indirect. The memory address is specified by the contents of the B
Register or X register (pointer register). In assembly language, the notation [B] or [X]
specifies which register serves as the pointer.
• Direct
• Register B or X Indirect
• Register B or X Indirect with Post-Incrementing/Decrementing
• Immediate
• Immediate Short
• Indirect from Program Memory
Example:
Example:
Load Accumulator Memory Direct
LD A,05
Memory Location
Exchange Memory with Accumulator, B Indirect
X A,[B]
Memory Location
0005 Hex
Accumulator
Accumulator
Reg/Data
0005 Hex
Memory
Reg/Data
B Pointer
Memory
Contents
XX Hex
Before
A6 Hex
Contents
Before
01 Hex
87 Hex
05 Hex
Contents
A6 Hex
A6 Hex
After
COP8SAx7 MICROCONTROLLER
Contents
87 Hex
01 Hex
05 Hex
After
2-55

Related parts for COP8SA-DM