Guardian Programming Reference Summary for pTAL and TAL

TNS Instruction Set
Guardian Programming Reference Summary for pTAL and TAL522631-001
17-10
TNS Alphabetical List of Instructions
TNS Categorized List of Instructions
The mnemonics and opcodes for the instruction set are grouped by type of instruction in
the following tables.
For complete information about these instructions, refer to the Himalaya S-Series Server
Description Manual.
A single asterisk following an instruction description denotes a privileged instruction,
and a double asterisk denotes an instruction intended for operating system use only.
16-Bit Arithmetic (Top of Register Stack)
IADD 000210 Integer Add
LADD 000200 Logical Add
ISUB 000211 Integer Subtract
LSUB 000201 Logical Subtract
IMPY 000212 Integer Multiply
LMPY 000202 Logical Multiply
IDIV 000213 Integer Divide
LDIV 000203 Logical Divide
INEG 000214 Integer Negate
LNEG 000204 Logical Negate
ICMP 000215 Integer Compare
LCMP 000205 Logical Compare
CMPI 001--- Integer Compare Immediate
ADDI 104--- Integer Add Immediate
LADI 003--- Logical Add Immediate