![]() |
LT4335 opcode table.
Version of 8 July 2011. Home. |
Opcodes for instructions particular to data types:
Last several digits of opcode | float | integer | string | |
---|---|---|---|---|
input-output | get embedded | …11_001 | …01_001 | …10_001 |
other get | …101_111 | …101_011 | …101_101 | |
put | …011_111 | …011_011 | …011_101 | |
get-and-put combination | …111_111 | …111_011 | …111_101 | |
unused | …001_111 | …001_011 | …001_101 | |
versus | …11_110_111 | …11_110_011 | …11_110_101 | |
other | …0_111 | …0_011 | …0_101 |
Generally, …111 is for floats, …011 for integers, and …101 for strings. The pattern …001 might have been used for a fourth data type, but instead was assigned to the get embedded instructions which, because they contain twelve bits of data, consume a large part of opcode space. Unused is …00_001.
Generally, …101_xxx is for non-embedded get, …011_xxx is for put, and …111_xxx is for the get-and-put combination. Unused is …001_xxx.
For extends, input-output is accomplished with string-type instructions. Extend arithmetic does have specific instructions, opcodes for which are gleaned from leftovers in the integer range.
Opcodes for other instructions:
Last several digits of opcode | float | integer | string | always | uninterruptable | |
---|---|---|---|---|---|---|
branch | without push | …11_000_010 | …01_000_010 | …100_010 | TO DO 0_000_010 TO DO | …101_010 |
with push | …11_010_010 | …01_010_010 | …110_010 | TO DO 0_010_010 TO DO | …111_010 |
reserved for future use | …110 | |
reserved for future use | …100 | |
reserved for user | …000 |