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 mode type can be used with the following instructions: BCLR, BSET, BNOT, BTST,
BNTST, BAND, BNAND, BOR, BNOR, BXOR, BNXOR, BM
Register direct
The specified register bit is the object
bit,R0
of the operation.
bit,R1
bit,R2
A value of 0 to 15 may be specified
as the bit position (bit).
bit,R3
bit,A0
bit,A1
Absolute
bit,base:16
The bit that is the number of bits
indicated by bit away from bit 0 at the
address indicated by base is the object
of the operation.
Bits at addresses 00000
01FFF
operation.
Address register indirect
[A0]
The bit that is the number of bits
indicated by the address register (A0/
[A1]
A1) away from bit 0 at address
00000
Bits at addresses 00000
01FFF
operation.
Rev.2.00 Oct 17, 2005
REJ09B0001-0200
through
16
can be the object of the
16
is the object of the operation.
16
through
16
can be the object of the
16
page 30 of 263
2.5 Bit Instruction Addressing
Cnd
, BTSTS, BTSTC
bit,R0
R0
b15
Bit position
b7
base
Bit position
b7
00000
16
Bit position
b0
b0
b0

Advertisement

Table of Contents
loading

Table of Contents