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

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
Syntax:
Description:
Operation:
IFBNE #
Instruction
IFBNE #
If the low-order nibble of the B pointer is not equal to # (where # = 0 to
F), then the next instruction is executed. Otherwise, the next instruction
is skipped. This instruction is useful where the B pointer is walked
across a data field as part of a closed loop instruction sequence. The IF-
BNE instruction is coded at the end of the sequence followed by a JP
(Jump Relative) instruction that branches back to the start of the in-
struction sequence. The # coded with the IFBNE represents the next ad-
dress beyond the data field. The B pointer instruction with post-
increment or decrement of the pointer may be used in walking across the
data field in either direction. The instruction sequence branches back
and repeats until the low-order nibble of the B pointer is found equal to
the # (representing the next address beyond the data field), at which
time the JP instruction is skipped as the program branches (skips) out
of the loop.
IF B POINTER LOW-ORDER NIBBLE EQUALS #,
THEN SKIP NEXT INSTRUCTION
Implicit
Addressing Mode
Instruction
Cycles
COP8SAx7 MICROCONTROLLER
1
Bytes Hex Op Code
1
4#
2-73

Related parts for COP8SA-DM