English
Language : 

MC9S12XD256CAG Datasheet, PDF (236/1348 Pages) Freescale Semiconductor, Inc – MC9S12XDP512 Data Sheet
Chapter 6 XGATE (S12XGATEV2)
BITH
Bit Test Immediate 8 bit Constant
(High Byte)
BITH
Operation
RD.H & IMM8 ⇒ NONE
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
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.
Code and CPU Cycles
Source Form
BITH RD, #IMM8
Address
Mode
IMM8
10011
Machine Code
RD
IMM8
Cycles
P
MC9S12XDP512 Data Sheet, Rev. 2.21
236
Freescale Semiconductor