SMAC
LAC-25 Technical Reference Manual
48
System Variable Locations
Variable
Name
Type
Address
RecRate
WORD
01A6H/422
RecAddr
WORD
01A8H/424
RecSize
WORD
01AAH/426
AIN0
WORD
0600H/1536
AIN1
WORD
0602H/1538
AIN2
WORD
0604H/1540
AIN3
WORD
0606H/1542
AIN4
WORD
0608H/1544
AIN5
WORD
060AH/1546
AIN6
WORD
060CH/1548
AIN7
WORD
060EH/1550
AIN8
WORD
0610H/1552
AIN9
WORD
0612H/1554
VERSION
WORD
0616H/1558
LST_ERR
BYTE
0619H/1561
LTIMER
WORD
061AH/1562
ADSEMA
WORD
061CH/1564
SYSSTAT
WORD
0712H/1810
IPEND0
WORD
0718H/1816
IPEND1
WORD
071AH/1818
SCLOCK
LONG
0722H/1826
RCLOCK
LONG
0726H/1830
IO_DELAY
BYTE
073EH/1854
Command:
AAn
-- Add 'n' to Accumulator (Signed) --
Argument:
-2,147,483,647 <= n <= 2,147,483,647
This command adds the value 'n' to the accumulator.
Command:
AC
-- Accumulator Complement --
This command causes a (bit-wise) 1's complement of the accumulator.
Command:
ADn
-- Accumulator Divide by 'n' (Signed) --
Argument:
-2,147,483,647 <= n <= 2,147,483,647
This command performs a 64 bit by 32 bit signed division with a 64 bit quotient and a 32
bit remainder.
The low order 32 bits of the numerator must be in the accumulator and the high
order 32 bits must be in Register 1.
The divisor is specified by 'n'. The lower 32 bits of the
quotient will be stored in the accumulator and the upper 32 bits will be stored in Register 1. The
remainder will be in Register 2.
Related Commands: AM