Renesas R8C/Tiny Series Software Manual page 64

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

Advertisement

Chapter 3
Functions
BAND
[ Syntax ]
BAND src
[ Operation ]
C
src
C
[ Function ]
• This instruction logically ANDs the C flag and
[ Selectable src ]
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]
[ Flag Change ]
Flag
U
I
O
Change
Conditions
C :
The flag is set when the operation resulted in 1; otherwise cleared.
[ Description Example ]
BAND
flag
BAND
4,Ram
BAND
16,Ram:16[SB]
BAND
[A0]
[ Related Instructions ]
Logically AND bits
Bit AND carry flag
src
bit,R2
bit,R3
[A0]
[A1]
bit,base:8[SB] bit,base:8[FB]
bit,base:16[SB] bit,base:16
B
S
Z
D
C
BOR,BXOR,BNAND,BNOR,BNXOR
[ Instruction Code/Number of Cycles ]
src
together and stores the result in the C flag.
47
3.2
Functions
BAND
Page=150

Advertisement

Table of Contents
loading

Table of Contents