Table 19-1. maxq7667 instruction set summary -3, Maxq7667 user’s guide – Maxim Integrated MAXQ7667 User Manual
Page 317
19-3
__________________________________________________________________________________________________________
MAXQ7667 User’s Guide
MNEMONIC
DESCRIPTION
16-BIT INSTRUCTION
WORD
STATUS BITS
AFFECTED
AP
INC/DEC
NOTES
AND src
Acc
Acc AND src
f001 1010 ssss ssss
S, Z
Y
1
OR src
Acc
Acc OR src
f010 1010 ssss ssss
S, Z
Y
1
XOR src
Acc
Acc XOR src
f011 1010 ssss ssss
S, Z
Y
1
CPL
Acc
~Acc
1000 1010 0001 1010
S, Z
Y
NEG
Acc
~Acc + 1
1000 1010 1001 1010
S, Z
Y
SLA
Shift Acc left arithmetically
1000 1010 0010 1010
C, S, Z
Y
SLA2
Shift Acc left arithmetically twice
1000 1010 0011 1010
C, S, Z
Y
SLA4
Shift Acc left arithmetically four times
1000 1010 0110 1010
C, S, Z
Y
RL
Rotate Acc left (w/o C)
1000 1010 0100 1010
S
Y
RLC
Rotate Acc left (through C)
1000 1010 0101 1010
C, S, Z
Y
SRA
Shift Acc right arithmetically
1000 1010 1111 1010
C, Z
Y
SRA2
Shift Acc right arithmetically twice
1000 1010 1110 1010
C, Z
Y
SRA4
Shift Acc right arithmetically four times
1000 1010 1011 1010
C, Z
Y
SR
Shift Acc right (0
msbit)
1000 1010 1010 1010
C, S, Z
Y
RR
Rotate Acc right (w/o C)
1000 1010 1100 1010
S
Y
L
O
G
IC
A
L
O
P
E
R
A
T
IO
N
S
RRC
Rotate Acc right (though C)
1000 1010 1101 1010
C, S, Z
Y
MOVE C, Acc.
C
Acc.
1110 1010 bbbb 1010
C
MOVE C, #0
C
0
1101 1010 0000 1010
C
MOVE C, #1
C
1
1101 1010 0001 1010
C
CPL C
C
~C
1101 1010 0010 1010
C
MOVE Acc., C
Acc.
C
1111 1010 bbbb 1010
S, Z
AND Acc.
C
C AND Acc.
1001 1010 bbbb 1010
C
OR Acc.
C
C OR Acc.
1010 1010 bbbb 1010
C
XOR Acc.
C
C XOR Acc.
1011 1010 bbbb 1010
C
MOVE dst., #1
dst.
1
1ddd dddd 1bbb 0111
C, S, E, Z
2
MOVE dst., #0
dst.
0
1ddd dddd 0bbb 0111
C, S, E, Z
2
B
IT
O
P
E
R
A
T
IO
N
S
MOVE C, src.
C
src.
fbbb 0111 ssss ssss
C
ADD src
Acc
Acc + src
f100 1010 ssss ssss
C, S, Z, OV
Y
1
ADDC src
Acc
Acc + (src + C)
f110 1010 ssss ssss
C, S, Z, OV
Y
1
SUB src
Acc
Acc – src
f101 1010 ssss ssss
C, S, Z, OV
Y
1
M
A
T
H
SUBB src
Acc
Acc – (src + C)
f111 1010 ssss ssss
C, S, Z, OV
Y
1
SECTION 19: INSTRUCTION SET SUMMARY
Table 19-1. MAXQ7667 Instruction Set Summary