Download Print this page

Siemens C16 Series Instruction Set Manual page 44

16-bit cmos single-chip microcontrollers

Advertisement

BFLDL
Syntax
Operation
Data Types
Description
Note:
Condition Flags
Addressing Modes
Semiconductor Group
30Mar98@15:00h
Bit Field Low Byte
BFLDL
op1, op2, op3
(tmp) ← (op1)
(low byte (tmp)) ← ((low byte (tmp) ∧ ¬op2) ∨ op3)
(op1) ← (tmp)
WORD
Replaces those bits in the low byte of the destination word operand op1
which are selected by a '1' in the AND mask op2 with the bits at the corre-
sponding positions in the OR mask specified by op3.
op1 bits which shall remain unchanged must have a '0' in the respective
bit of both the AND mask op2 and the OR mask op3.
Otherwise a '1' in op3 will set the corresponding op1 bit (see „Operation").
E
Z
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 other-
wise.
Mnemonic
BFLDL
bitoff
, #mask
Q
C166 Family Instruction Set
V
C
N
0
0
*
Format
, #data8 0A QQ @@ ##
8
44
Instruction Description
BFLDL
Version 1.2, 12.97
Bytes
4

Hide quick links:

Advertisement

loading