hex.cmp.init¶
This is where the compare “truth” tables are.
Its 8-bits are expected to be {src<<4 | dst} at the jump to it (for the src,dst hexes of the cmp operation).
Its 8-bits are expected to be 0 after the jump to it.
Signature¶
def init @ switch, clean_table_entry, end < ..tables.ret > dst { ... }
Defined in hex/cond_jumps.fj — lines 139–160 (view on GitHub).
Complexity¶
Time:
6 (when jumping to dst, until finished)Space:
514
See the complexity glossary for what @, w, dw, dbit, n mean.
Requires init¶
The following must be initialised before this macro is invoked:
hex.tables.init_shared (or hex.init)
Output labels¶
This macro exposes labels into the caller’s scope via >:
dst— This variable is an 8-bit variable (in a single op, [dbit,dbit+8)).