Programmer (HHP) User guide
Appendix B
Programming Reference
B–16
Mnemonic
HHP
Display
Function
Code
Name Instruction Type
SUB
➀
81 Subtract Math
SUS
➀
137 Suspend Program Flow Control
TND
➀
136 Temporary End Program Flow Control
TOD
➀
100 Convert to BCD Data Handling
TOF ➀ 1 Timer Off-Delay Basic
TON ➀ 0 Timer On-Delay Basic
XOR
➀
110
Exclusive Or
Data Handling
➀ Multiple displays.
The table below lists the execution times and memory usage for the
controller instructions. Any instruction that takes longer than 15 µs (true or
false execution time) to execute performs a poll for user interrupts.
Mnemonic
False Execution Time
(approx. µseconds)
True Execution Time
(approx. µseconds)
Memory Usage
(user words)
Name Instruction Type
ADD 6.78 33.09 1.50 Add Math
ANB 0.40 0.25 And Block Basic
AND (bit input) 2.12 1.94 1.00 And Basic
AND (word output) 6.78 34.00 1.50 And Data Handling
ANI 2.12 1.94 1.00 And Inverted Basic
BSL 19.80
53.71 + 5.24 x position
value
2.00 Bit Shift Left Application Specific
BSR 19.80
53.34 + 3.98 x position
value
2.00 Bit Shift Right Application Specific
CLR 4.25 20.80 1.00 Clear Math
COP 6.60 27.31 + 5.06/word 1.50 File Copy Data Handling
CTD 27.22 32.19 1.00 Count Down Basic
CTU 26.67 29.84 1.00 Count Up Basic
DCD 6.78 27.67 1.50 Decode 4 to 1 of 16 Data Handling
DDV 6.78 157.06 1.00 Double Divide Math
DIV 6.78 147.87 1.50 Divide Math
ENC 6.78 54.80 1.50 Encode 1 of 16 to 4 Data Handling
AND EQU 7.00 21.92 1.75
EQU LD EQU 6.60 21.52 1.50 Equal Comparison
OR EQU 7.00 21.92 1.75
Instruction Execution Times
and Memory Usage