hex.and.init¶
This is where the and “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 and operation).
Its 8-bits are expected to be 0 after the jump to it.
Signature¶
def init @ switch, clean_table_entry, end < ..tables.res > dst { ... }
Defined in hex/logics.fj — lines 338–358 (view on GitHub).
Complexity¶
Time:
6 (when jumping to dst, until finished)Space:
595
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)).