
50
3.2 Functions
Chapter 3 Functions
Bit Not AND carry flag
Logically AND inverted bits
[ Related Instructions ] BAND,BOR,BXOR,BNOR,BNXOR
[ Function ]
BNAND
[ Syntax ]
BNAND src
• This instruction logically ANDs the C flag and inverted
src
together and stores the result in the C flag.
[ Selectable src ]
[ Flag Change ]
[ Description Example ]
BNAND flag
BNAND 4,Ram
BNAND 16,Ram:16[SB]
BNAND [A0]
[ Operation ]
______
C src C
src
bit,R0 bit,R1 bit,R2 bit,R3
bit,A0 bit,A1 [A0] [A1]
base:8[A0] base:8[A1] bit,base:8[SB] bit,base:8[FB]
base:16[A0] base:16[A1] bit,base:16[SB]
bit,base:16
C
bit,base:11[SB]
Condition
C : The flag is set when the operation resulted in 1; otherwise cleared.
UIOBSZDC
BNAND
[ Instruction Code/Number of Cycles ]
Page=
155
Change
Flag
Comentarios a estos manuales