STMicroelectronics ST10 Series Programming Manual page 52

Table of Contents

Advertisement

ST10 FAMILY PROGRAMMING MANUAL
BFLDH
Syntax
Operation
Data Types
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
E
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.
Addressing Modes
Mnemonic
BFLDH bitoff
, #mask
Q
50/172
Bit Field High Byte
BFLDH
(tmp)
(high byte (tmp))
(op1)
WORD
Z
*
Format
, #data
1A QQ ## @@
8
8
op1, op2, op3
<-- (op1)
<-- ((high byte (tmp) ^ ¬op2) v op3)
<-- (tmp)
V
C
0
0
N
*
Bytes
4

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ST10 Series and is the answer not in the manual?

Questions and answers

Table of Contents