Skip to content

Instantly share code, notes, and snippets.

View JKAnderson's full-sized avatar

Joseph Anderson JKAnderson

View GitHub Profile

Bytecode is postfix; that is, operators come after their operands, so 5 + 10 would be written 5 10 +, or 45 4A 8C A1 in bytes.
Byte values are given in hex; number of operands required is given in the Pops column.
Representation in Zeditor-flavor EzSembly is given when applicable.

Byte Pops Zeditor Description
00 - 7F 0 Number literal offset by 64; real values from -64 to +63
80 0 4-byte float follows
81 0 8-byte float follows
82 0 4-byte signed int follows