Hyundai GMS800 Instruction Manual page 43

Gms800 series 8-bit single-chip microcomputers
Table of Contents

Advertisement

EOR1
( Bit exclusive OR )

( C ) ⊕ ⊕ ⊕ ⊕ ( M.bit )
Function
: C
Description : Exclusive-OR of the carry flag and the specified bit of memory.
The results is left in the carry flag.

Flag
:
Mnemonic
EOR1 M.bit
* The bit4 of the 3rd byte is set to "0".
Example
:
471 F8B9 CBC040
472 F8BC AB2E20
473 F8BF D004
474 F8C1 C400
475 F8C3 2F02
476 F8C5 C403
477 F8C7 FF
EOR1B

( C ) ⊕ ⊕ ⊕ ⊕ ~( M.bit )
Function
: C
Description : Exclusive-OR of the carry flag and 1's complement of the specified bit of memory.

Flag
:
Mnemonic
EOR1B M.bit
* The bit4 of the 3rd byte is set to "1".
Example
:
319
320 C108 E4FF0B
321 C10B AB0B00
322 C10E 50E5
OP Code
AB
LDC
EOR1
BCS
LDA
BRA
DIFE:
LDA
UNIO:
NOP
( Bit exclusive OR - 1's complement )
OP Code
AB
M_BIT0
EQU
LDM
EOR1B
BCC
Bytes
Cycles
3
5
0C0H.2
; R02 -> CARRY
2EH.1
DIFE
#0
UNIO
#3
Bytes
Cycles
3
5
0,COUNT
COUNT,#0FFH
M_BIT0
BYE
;IF CARRY CLEAR THEN GOTO BYE
Instruction Set
39

Advertisement

Table of Contents
loading

Table of Contents