Download Print this page

Siemens C16 Series Instruction Set Manual page 43

16-bit cmos single-chip microcontrollers

Advertisement

BFLDH
Syntax
Operation
Data Types
Description
Note:
Condition Flags
Addressing Modes
Semiconductor Group
30Mar98@15:00h
Bit Field High Byte
BFLDH
op1, op2, op3
(tmp) ← (op1)
(high byte (tmp)) ← ((high byte (tmp) ∧ ¬op2) ∨ op3)
(op1) ← (tmp)
WORD
Replaces those bits in the high 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
BFLDH
bitoff
, #mask
Q
C166 Family Instruction Set
V
C
N
0
0
*
Format
, #data8 1A QQ ## @@
8
43
Instruction Description
BFLDH
Version 1.2, 12.97
Bytes
4

Hide quick links:

Advertisement

loading