SMAC
LAC-25 Technical Reference Manual
51
Command:
SRn
-- Shift Accumulator Right 'n' bits --
Argument:
0 <= n <= 31
This command causes the accumulator to be shifted right 'n' bits while filling the high order
bits with zero.
Related Commands: SL
Command:
TRn
-- Tell Contents of Register 'n' --
Argument:
0 <= n <= 511
This command reports the value contained by Register 'n'.
Command:
WBn
-- Write Byte (8 bits) to RAM location 'n' --
Argument:
0 <= n <= 2047
This command copies the low 8-bits of the accumulator to the internal RAM location 'n'.
Related Commands: RB, RL, RW, WL, WW
Command:
WLn
-- Write Long (32 bits) to RAM location 'n' --
Argument:
0 <= n <= 2046
This command copies all 32 bits of the accumulator to the internal RAM location 'n'. The
value of 'n' must be evenly divisible by two.
Related Commands: RB, RL, RW, WB, WW
Command:
WWn
-- Write Word (16 bits) to RAM location 'n' --
Argument:
0 <= n <= 2046
This command copies the low 16-bits of the accumulator to the internal RAM location 'n'.
The value of 'n' must be evenly divisible by two.
Related Commands: RB, RL, RW, WB, WL