
DS4830A User’s Guide
203
SECTION 24 – INSTRUCTION SET
Table 24-1. Instruction Set Summary
MNEMONIC DESCRIPTION
16-BIT INSTRUCTION
WORD
BITS
AP
INC/DEC
NOTES
LOGICAL OPERATIONS
Shift Acc left arithmetically
Shift Acc left arithmetically twice
Shift Acc left arithmetically four times
Rotate Acc left (through C)
Shift Acc right arithmetically
Shift Acc right arithmetically twice
Shift Acc right arithmetically four times
Shift Acc right (0 msbit)
Rotate Acc right (though C)
BIT OPERATIONS
MATH
BRANCHING
If C=1, IP (IP + src) or src
If C=0, IP (IP + src) or src
If Z=1, IP (IP + src) or src
If Z=0, IP (IP + src) or src
If E=0, IP (IP + src) or src
If S=1, IP (IP + src) or src
@++SP IP+1; IP (IP+src) or src
If C=1, IP @SP-- ; INS 0
If Z=1, IP @SP-- ; INS 0
If Z=0, IP @SP-- ; INS 0
If S=1, IP @SP-- ; INS 0
DATA
TRANSFER
Swap nibbles in each Acc byte
Note 1: The active accumulator (Acc) is not allowed as the src in operations where it is the implicit destination.
Note 2: Only module 8 and modules 0-5 are supported by these single-cycle bit operations. Potentially affects C or E if PSF register is the
destination. Potentially affects S and/or Z if AP or APC is the destination.
Note 3: The terms Acc and A[AP] can be used interchangeably to denote the active accumulator.
Comentarios a estos manuales