Renesas R8C/Tiny Series Software Manual page 77

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

Advertisement

Chapter 3
Functions
BTSTS
[ Syntax ]
BTSTS
dest
[ Operation ]
________
Z
dest
C
dest
dest
1
[ Function ]
• This instruction transfers inverted
dest
1 in
.
[ Selectable dest ]
[ Flag Change ]
Flag
U
I
O
B
Change
Conditions
Z :
The flag is set when
C :
The flag is set when
[ Description Example ]
BTSTS
flag
BTSTS
4,Ram
BTSTS
16,Ram:16[SB]
BTSTS
[A0]
[ Related Instructions ]
Test bit & set
Bit TeST & Set
dest
to the Z flag and non-inverted
S
Z
D
C
dest
is 0; otherwise cleared.
dest
is 1; otherwise cleared.
BCLR,BSET,BNOT,BNTST,BTST,BTSTC
[ Instruction Code/Number of Cycles ]
dest
bit,R0
bit,R1
bit,A0
bit,A1
base:8[A0]
base:8[A1]
base:16[A0]
base:16[A1]
C
bit,base:11[SB]
60
3.2 Functions
BTSTS
Page=160
to the C flag. Then it stores
dest
bit,R2
bit,R3
[A0]
[A1]
bit,base:8[SB] bit,base:8[FB]
bit,base:16[SB] bit,base:16

Advertisement

Table of Contents
loading

Table of Contents