Infineon Technologies C166S V2 User Manual page 224

16-bit microcontroller
Table of Contents

Advertisement

BFLDH
Group
Syntax
Source Operand(s)
Destination Operand(s)
Operation
(count) ← 0
DO WHILE ((count) <8)
(count) ← (count) + 1
END WHILE
Description
Replaces those bits in the high byte of the destination word operand op1 which are
selected by an '1' in the mask specified by op2 with the bits at the corresponding
positions in "op3".
CPU Flags
E
Always cleared.
Z
Set if result equals zero. Cleared otherwise.
V
Always cleared.
C
Always cleared.
N
Set if the most significant bit of the result is set. Cleared otherwise.
Encoding
Mnemonic
BFLDH
bitoff
User Manual
Bit Field High Byte
Boolean Bit Manipulation Instructions
BFLDH op1, op2, op3
op1 → WORD
op2, op3 → BYTE
op1 → WORD
IF (op2[(count)] = 1)
(op1[(count) + 8]) ← op3[(count)]
ENDIF
E
Z
0
*
, #mask8 , #data8 1A QQ ## @@
Q
Detailed Instruction Description
V
C
0
0
Format
8-224
User Manual
C166S V2
BFLDH
N
*
Bytes
4
V 1.7, 2001-01

Advertisement

Table of Contents
loading

Table of Contents