INSTRUCTION DESCRIPTIONS
MOTOROLA INSTRUCTION SET DETAILS A - 135
Instruction Format:
JSET #n,S,xxxx
Opcode:
Instruction Fields:
#n=bit number=bbbbb,
S=source register=DDDDDD,
xxxx=16-bit Absolute Address in extension word
Source Register D D D D D D Bit Number bbbbb
4 registers in Data ALU 0 0 0 1 D D 00000
8 accumulators in Data ALU 0 0 1 D D D
8 address registers in AGU 0 1 0 T T T 10111
8 address offset registers in AGU 0 1 1 N N N
8 address modifier registers in AGU 1 0 0 F F F
8 program controller registers 1 1 1 G G G
See Section A.10 and Table A-18 for specific register encodings.
Notes: If A or B is specified as the destination operand, the following sequence of events
takes place:
1. The S bit is computed according to its definition (See Section A.5)
2. The accumulator value is scaled according to the scaling mode bits S0
and S1 in the status register (SR).
3. If the accumulator extension is in use, the output of the shifter is limited to
the maximum positive or negative saturation constant, and the L bit is set.
4. The bit test is performed on the resulting 24-bit value, and the jump is taken
if the bit tested is set. The original contents of A or B are not changed.
Timing: 6+jx oscillator clock cycles
Memory: 2 program words
23 16 15 8 7 0
ABSOLUTE ADDRESS EXTENSION
00001010 11DDDDDD001bbbbb
JSET Jump if Bit Set