hex/pointers/stack.fj¶
———- Stack
Macros¶
hex¶
hex.sp_inc—Effectively: sp++hex.sp_dec—Effectively: sp--hex.sp_add—Effectively: sp += valuehex.sp_sub—Effectively: sp -= valuehex.push_ret_address—Effectively: stack[++sp] = return_addresshex.pop_ret_address—Effectively: stack[sp--] = 0hex.push_hex—Effectively: stack[++sp] = hexhex.push_byte—Effectively: stack[++sp] = byte[:2]hex.push—Effectively: stack[sp+1:][:M] = hex[:n]; sp += n.hex.pop_hex—Effectively: hex = stack[sp--]hex.pop_byte—Effectively: byte[:2] = stack[sp--]hex.pop—Effectively: sp -= M