SAM47 INSTRUCTION SET

KS57C2308/P2308/C2316/P2316

 

 

BXOR — Bit Exclusive OR

BXOR (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

 

 

BXOR

C,@H+FLAG

;

C XOR FLAG (20H.3)

5-44

Page 118
Image 118
Samsung KS57C2308 manual Bxor @H+FLAG