Chapter 9 XGATE (S12XGATEV2)
MC9S12XDP512 Data Sheet, Rev. 2.11
Freescale Semiconductor 427
Operation
RD.H & IMM8NONE
Performs a bit wise logical AND between the high byte of register RD and an immediate 8-Bit constant.
Only the condition code flags get updated, but no result is written back
CCR Effects
Code and CPU Cycles
BITH Bit Test Immediate 8-Bit Constant
(High Byte) BITH
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
BITH RD, #IMM8 IMM8 1 0 0 1 1 RD IMM8 P