SAM47 INSTRUCTION SET
BOR
— Bit Logical OR
BOR
(Continued)
Examples:
3. Register H contains the value 2H and FLAG = 20H.3. The address of H is 0010B and
FLAG(3–0) is 0000B. The resulting address is 00100000B or 20H. The bit value for the BOR
instruction is 3. Therefore, @H+FLAG = 20H.3:
FLAG EQU
LD
BOR
5-36
20H.3
H,#2H
C,@H+FLAG
; C OR FLAG (20H.3)
KS57C2308/P2308/C2316/P2316