Infineon Technologies C166S V2 User Manual page 225

16-bit microcontroller
Table of Contents

Advertisement

BFLDL
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 low 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
BFLDL
bitoff
User Manual
Bit Field Low Byte
Boolean Bit Manipulation Instructions
BFLDL op1, op2, op3
op1 → WORD
op2, op3 → BYTE
op1 → WORD
IF op2[(count)] = 1
(op1[(count)]) ← op3[(count)]
ENDIF
E
Z
0
*
, #mask8 , #data8 0A QQ @@ ##
Q
Detailed Instruction Description
V
C
0
0
Format
8-225
User Manual
C166S V2
BFLDL
N
*
Bytes
4
V 1.7, 2001-01

Advertisement

Table of Contents
loading

Table of Contents