ST10 FAMILY PROGRAMMING MANUAL
50/172
BFLDH
Bit Field High Byte
Syntax
BFLDH
op1, op2, op3
Operation
(tmp) <--
(op1)
(high byte (tmp))
<-- ((high byte (tmp) ^ ¬op2) v op3)
(op1) <--
(tmp)
Data Types
WORD
Description
Replaces those bits in the high byte of the destination word operand op1 which are selected by an ’1’ in
the AND mask op2 with the bits at the corresponding positions in the OR mask specified by op3.
Note: Bits which are masked off by a ’0’ in the AND mask op2 may be unintentionally altered if the corre-
sponding bit in the OR mask op3 contains a ’1’.
Flags
Addressing Modes
E
Z
V
C
N
0
*
0
0
*
E
Always cleared.
Z
Set if the word result equals zero. Cleared otherwise.
V
Always cleared.
C
Always cleared.
N
Set if the most significant bit of the word result is set. Cleared otherwise.
Mnemonic
Format
Bytes
BFLDH bitoff
Q
, #mask
8
, #data
8
1A QQ ## @@
4
Summary of Contents for ST10 Series
Page 2: ......