And acc.<b, And acc.<b> -7, Maxq family user’s guide – Maxim Integrated MAXQ Family User Manual
Page 184
Advertising

18-7
MAXQ Family User’s Guide
AND Acc.<b>
Logical AND Carry Flag with Accumulator Bit
Description:
Performs a logical-AND between the Carry (C) status flag and a specified bit of the active accumulator (Acc.<b>)
and returns the result to the Carry.
Status Flags:
C
Operation:
C
← C AND Acc. <b>
Encoding:
15
0
MAXQ10
Example(s):
; Acc = 45h, C=1 at start
AND Acc.0
; Acc.0=1
→ C=1
AND Acc.1
; Acc.1=0
→ C=0
AND Acc.2
; Acc.2=1
→ C=0
MAXQ20
Example(s):
; Acc = 2345h, C=1 at start
AND Acc.0
; Acc.0=1
→ C=1
AND Acc.1
; Acc.1=0
→ C=0
AND C, Acc.8
; Acc.8=1
→ C=0
Special Notes:
For the MAXQ10, the accumulator width is only 8 bits. Thus, only bit index encoding ('bbbb') for bits 0 ('0000')
through 7 ('0111') is supported.
1001
1010
bbbb
1010
Maxim Integrated
Advertising