English
Language : 

S912XEG384J3VA Datasheet, PDF (409/1324 Pages) Freescale Semiconductor, Inc – MC9S12XEP100 Reference Manual Covers MC9S12XE Family
Chapter 10 XGATE (S12XGATEV3)
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
MC9S12XE-Family Reference Manual Rev. 1.25
Freescale Semiconductor
409