Installation manual

Publication 1747-RM001G-EN-P - November 2008
C-2 Memory Usage
Fixed and SLC 5/01
Processors
The number of 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.2 SLC 500 Fixed and SLC 5/01 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.50 Equal Comparison 3-2
FLL 1.50 Fill File Data Handling 5-13
FRD 1.00 Convert from BCD Data Handling 5-5
GEQ 1.50 Greater Than or Equal Comparison 3-4
GRT 1.50 Greater Than Comparison 3-3
HSC 1.00 High-speed Counter High-speed Counter 2-15
IIM 1.50 Immediate Input with Mask Program Flow Control 6-8
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.50 Less Than or Equal Comparison 3-3
LES 1.50 Less Than Comparison 3-3
MCR 0.50 Master Control Reset Program Flow Control 6-6
MEQ 1.50 Masked Compare for Equal Comparison 3-4
MOV 1.50 Move Data Handling 5-17
MUL 1.50 Multiply Math 4-8
MVM 1.50 Masked Move Data Handling 5-18