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

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
memory address is specified by the contents of the B Register or X register (pointer
register). The pointer register is automatically incremented or decremented after
execution, allowing easy manipulation of memory blocks with software loops. In
assembly language, the notation [B+], [B-], [X+], or [X-] specifies which register serves as
the pointer, and whether the pointer is to be incremented or decremented.
Immediate. The data for the operation follows the instruction opcode in program
memory. In assembly language, the number sign character (#) indicates an immediate
operand.
Immediate Short. This is a special case of an immediate instruction. In the “Load B
immediate” instruction, the 4-bit immediate value in the instruction is loaded into the
lower nibble of the B register. The upper nibble of the B register is reset to 0000 binary.
Indirect from Program Memory. This is a special case of an indirect instruction that
allows access to data tables stored in program memory. In the “Load Accumulator
Indirect” (LAID) instruction, the upper and lower bytes of the Program Counter (PCU
and PCL) are used temporarily as a pointer to program memory. For purposes of
accessing program memory, the contents of the Accumulator and PCL are exchanged.
The data pointed to by the Program Counter is loaded into the Accumulator, and
2-56
Example:
Example:
Example:
COP8SAx7 MICROCONTROLLER
Exchange Memory with Accumulator, B Indirect with Post-Increment
X A,[B+]
Load Accumulator Immediate
LD A,#05
Load B Register Immediate Short
LD B,#7
Accumulator
B Pointer
Reg/Data
Memory
Reg/Data
Memory
Memory Location
Accumulator
0005 Hex
B Pointer
Reg/Data
Memory
Contents
12 Hex
Before
Contents
XX Hex
Before
Contents
07 Hex
After
Contents
05 Hex
After
Contents
03 Hex
62 Hex
05 Hex
Before
Contents
62 Hex
03 Hex
06 Hex
After

Related parts for COP8SA-DM