SAM47 INSTRUCTION SET

KS57C2308/P2308/C2316/P2316

 

 

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

20H.3

LD

H,#2H

 

BOR

C,@H+FLAG

; C OR FLAG (20H.3)

5-36

Page 110
Image 110
Samsung KS57C2308 manual Bor @H+Flag