Motorola HC12 Refrence Manual page 148

Table of Contents

Advertisement

EORB
Operation:
(B)
Description:
Performs the logical exclusive OR between the content of accumulator
B and the content of memory location M. The result is placed in A. Each
bit of A after the operation is the logical exclusive OR of the correspond-
ing bits of M and B before the operation.
Condition Codes and Boolean Formulas:
S
N:
Z:
V:
Addressing Modes, Machine Code, and Execution Times:
Source Form
EORB # opr8i
EORB opr8a
EORB opr16a
EORB oprx0_xysp
EORB oprx9 , xysp
EORB oprx16 , xysp
EORB [D ,xysp ]
EORB [ oprx16,xysp ]
MOTOROLA
6-88
Exclusive-OR B
(M) ⇒ B
X
H
I
N
Z
Set if MSB of result is set; cleared otherwise.
Set if result is $00; cleared otherwise.
0; Cleared.
Address Mode
IMM
DIR
EXT
IDX
IDX1
IDX2
[D,IDX]
[IDX2]
INSTRUCTION GLOSSARY
V
C
0
Object Code
C8 ii
D8 dd
F8 hh ll
E8 xb
E8 xb ff
E8 xb ee ff
E8 xb
E8 xb ee ff
EORB
Cycles
Access Detail
1
P
3
rfP
3
rOP
3
rfP
3
rPO
4
frPP
6
fIfrfP
6
fIPrfP
CPU12
REFERENCE MANUAL

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpu12

Table of Contents