Chapter 9 XGATE (S12XGATEV2)
MC9S12XDP512 Data Sheet, Rev. 2.11
412 Freescale Semiconductor
Operation
RD.H & IMM8RD.H
Performs a bit wise logical AND between the high byte of register RD and an immediate 8-Bit constant
and stores the result in the destination register RD.H. The low byte of RD is not affected.
CCR Effects
Code and CPU Cycles
ANDH Logical AND Immediate 8-Bit Constant
(High Byte) ANDH
NZVC
∆∆0—
N: Set if bit 15 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
ANDH RD, #IMM8 IMM8 1 0 0 0 1 RD IMM8 P