hex.init¶
Initialise every truth table that the hex.* macros depend on. Call this exactly once at program start; bundled into stl.startup_and_init_all. Don’t mix with any hex.*.init calls — those would redeclare the same tables.
Signature¶
def init { ... }
Defined in hex/tables_init.fj — lines 12–14 (view on GitHub).
Complexity¶
Time:
O(1)Space:
6500 (6464+@)
See the complexity glossary for what @, w, dw, dbit, n mean.
Output labels¶
This macro exposes labels into the caller’s scope via >:
ret— The return address. Jumps to it after finishing going through a table.res— The result of the table calculation is written here.
Source¶
Click to view the macro body
def init {
.tables.init_all
}
Depends on¶
Used by¶
Example uses¶
stl.startup_and_init_allinrunlib.fj
Next: hex.tables.init_shared →