hex.tables.jump_to_table_entry¶
The macro assumes that jumper_to_table is a fj-op that jumps to a 256-padded table.
This macro is used as a jumper to a table that sets hex.tables.res to some (calc(dst, src) ^ dst), and jumps back.
It jumps to the table, at entry (src<<4 | dst).
At last, it xors the value of hex.tables.res into dst.
both dst,src are hexes, and jumper_to_table is an address.
Signature¶
def jump_to_table_entry dst, src, jumper_to_table @ return < .ret, .res { ... }
Defined in hex/tables_init.fj — lines 69–76 (view on GitHub).
Complexity¶
Time:
4@+4Space:
4@+52
See the complexity glossary for what @, w, dw, dbit, n mean.