Installation manual

Publication 1747-RM001G-EN-P - November 2008
Memory Usage C-7
SLC 5/02 Processor
The number of instruction words used by an instruction is indicated in the
following table. Since the program is compiled by the programmer, it is only
possible to establish estimates for the instruction words used by individual
instructions. The calculated memory usage will normally be greater than the
actual memory usage, due to compiler optimization.
Table C.3 SLC 5/02 List of Instructions
Mnemonic Memory Usage
(user words)
Name Instruction Type Page
ADD 1.5 Add Math 4-5
AND 1.5 And Data Handling 5-20
BSL 2.00 Bit Shift Left Application Specific 7-4
BSR 2.00 Bit Shift Right Application Specific 7-4
CLR 1.00 Clear Math 4-12
COP 1.50 File Copy Data Handling 5-13
CTD 1.00 Count Down Basic 2-14
CTU 1.00 Count Up Basic 2-13
DCD 1.50 Decode 4 to 1 of 16 Data Handling 5-10
DDV 1.00 Double Divide Math 4-11
DIV 1.50 Divide Math 4-9
EQU
(1)
1.50 Equal Comparison 3-2
FFL 1.50 FIFO Load Data Handling 5-26
FFU 1.50 FIFO Unload Data Handling 5-26
FLL 1.50 Fill File Data Handling 5-13
FRD 1.00 Convert from BCD Data Handling 5-5
GEQ
(1)
1.50 Greater Than or Equal Comparison 3-4
GRT
(1)
1.50 Greater Than Comparison 3-3
IID 1.25 I/O Interrupt Disable Interrupt 11-32
IIE 1.25 I/O Interrupt Enable Interrupt 11-32
IIM 1.50 Immediate Input with Mask Program Flow Control 6-8
INT 0.50 Interrupt Subroutine Interrupt 11-34
IOM 1.50 Immediate Output with Mask Program Flow Control 6-9
JMP 1.00 Jump to Label Program Flow Control 6-2
JSR 1.00 Jump to Subroutine Program Flow Control 6-3
LBL 0.50 Label Program Flow Control 6-2
LEQ
(1)
1.50 Less Than or Equal Comparison 3-3
LES
(1)
1.50 Less Than Comparison 3-3