DM-COP8/44P National Semiconductor, DM-COP8/44P Datasheet - Page 109

no-image

DM-COP8/44P

Manufacturer Part Number
DM-COP8/44P
Description
CABLE FOR DEBUG MODULE 44-PLCC
Manufacturer
National Semiconductor
Datasheet

Specifications of DM-COP8/44P

Accessory Type
44-PLCC Target Cable
For Use With/related Products
MetaLink Debug Module
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
*DM-COP8/44P
Syntax:
Description:
Operation:
DRSZ REG#
Instruction
DRSZ REG#
This instruction decrements the contents of the selected memory regis-
ter (selected by #, where # = 0 to F) and places the result back in the
same register. If the result is zero, the next instruction is skipped. This
instruction is useful where it is desired to repeat an instruction sequence
a given number of times. The desired number of times that the instruc-
tion sequence is to be executed is placed in a register, and a DRSZ in-
struction with that register is coded at the end of the sequence followed
by a JP (Jump Relative) instruction that branches back to the start of
the instruction sequence. The JP branch-back instruction is executed
each time around the instruction sequence loop until the register count
is decremented down to zero, at which time the JP instruction is skipped
as the program branches (skips) out of the loop.
REG <- REG - 1
IF (REG - 1) = 0,
THEN SKIP NEXT INSTRUCTION
Register Direct (Implicit)
Addressing Mode
Instruction
Cycles
COP8SAx7 MICROCONTROLLER
3
Bytes Hex Op Code
1
C (REG#)
2-71

Related parts for DM-COP8/44P