Ld cc – Zilog Z16F2810 User Manual
Page 136
![background image](https://www.manualsdir.com/files/771158/content/doc136.png)
LD cc Instruction
UM018809-0611
120
ZNEO
®
CPU Core
User Manual
LD CC
Definition
Load Condition Code
Syntax
LD cc, dst
Operation
dst
cc
Description
This instruction loads the destination register with a 1 if the specified condition is currently True.
Otherwise, it clears the destination register to 0.
Flags
Flags are not affected by this instruction.
Syntax and Opcodes
Examples
Before:
S=1, V=0
LD GE, R13
;Object Code: 019D
After:
R13=1
Before:
S=1, V=1
LD GE, R13
;Object Code: 019D
After:
R13=0
Instruction, Operands
Word 0
Word 1
Word 2
LD cc, Rd
{01H, cc4, Rd}