Expand description
UXN Opcode Reference Table
This module contains the complete UXN opcode table as specified in the official UXN Tal Reference: https://wiki.xxiivv.com/site/uxntal_reference.html
The table maps each opcode byte (0x00-0xFF) to its corresponding instruction with mode flags applied.
Constants§
- BASE_
INSTRUCTIONS - Base instruction names (without mode flags)
- UXN_
OPCODE_ TABLE - Complete UXN opcode reference table
Functions§
- create_
instruction_ map - Create a hashmap from instruction name to base opcode value
- decode_
opcode - Decode an opcode byte into its components
- encode_
opcode - Encode an opcode from base instruction and mode flags
- get_
opcode_ name - Get the complete opcode name for a given byte value
- verify_
opcode_ table - Verify that our opcode table matches the official specification