
Chapter 6 XGATE (S12XGATEV2)
MC9S12XDP512 Data Sheet, Rev. 2.21
Freescale Semiconductor
287
Operation
~(RD.L ^ IMM8)
RD.L
Performs a bit wise logical exclusive NOR between the low byte of register RD and an immediate 8 bit
constant and stores the result in the destination register RD.L. The high byte of RD is not affected.
CCR Effects
Code and CPU Cycles
XNORL Logical Exclusive NOR Immediate
8 bit Constant (Low Byte)
XNORL
NZ
V
C
0—
N:
Set if bit 7 of the result is set; cleared otherwise.
Z:
Set if the 8 bit result is $00; cleared otherwise.
V:
0; cleared.
C:
Not affected.
Source Form
Address
Mode
Machine Code
Cycles
XNORL RD, #IMM8
IMM8
1
0
1
0
RD
IMM8
P