Bit Instruction Addressing - Renesas R8C/Tiny Series Software Manual

16-bit single-chip microcomputer
Hide thumbs Also See for R8C/Tiny Series:
Table of Contents

Advertisement

Chapter 2 Addressing Modes

2.5 Bit Instruction Addressing

This addressing can be used in the following instructions:
BCLR, BSET, BNOT, BTST, BNTST, BAND, BNAND, BOR, BNOR, BXOR, BNXOR, BM
BTSTC
Register direct
The specified register bit is the object
bit,R0
to be operated on.
bit,R1
bit,R2
For the bit position (bit) you can
specify 0 to 15.
bit,R3
bit,A0
bit,A1
Absolute
The bit that is as much away from bit
bit,base:16
0 at the address indicated by base as
the number of bits indicated by bit is
the object to be operated on.
Bits at addresses 00000
01FFF
operated on.
Address register indirect
The bit that is as much away from bit 0 at
[A0]
address 00000
[A1]
indicated by address register (A0/A1) is
the object to be operated on.
Bits at addresses 00000
01FFF
on.
through
16
can be the object to be
16
as the number of bits
16
through
16
can be the object to be operated
16
2.5 Bit Instruction Addressing
bit , R0
b15
Bit position
base
b7
00000
16
Bit position
30
Cnd
, BTSTS,
R0
b0
b7
b0
Bit position
b0

Advertisement

Table of Contents
loading

Table of Contents