
32
Chapter 2 Addressing Modes
address
FB relative
bit,base:8[FB]
FB
address
Register
base
base
If the base value is negative
If the base value is positive
Memory
Bit position
FLG direct
U
I
O
B
S
Z
D
C
UI OBS ZDC
b0b7
FLG
Register
2.5 Bit Instruction Addressing
The specified flag is the object to
be operated on.
This addressing can be used in
FCLR and FSET instructions.
The bit that is as much away from bit 0 at
the address indicated by frame base
register (FB) plus the value indicated by
base (added including the sign bit) as the
number of bits indicated by bit is the
object to be operated on.
However, if the address of the bit to be
operated on exceeds 0000016-0FFFF16,
the bits above bit 17 are ignored and the
address returns to 0000016 or 0FFFF16.
The address range that can be specified
by bit,base: 8 is 16 bytes toward lower
addresses or 15 bytes toward higher
addresses from the frame base register
(FB) value.
(Bit position)
Komentarze do niniejszej Instrukcji