holey-bytes/hbasm/assets/label.lua

8 lines
139 B
Lua
Raw Normal View History

label "label" -- set named label
local a = label {} -- unassigned label
jmp16("label")
a:here() -- assign label
jmp16(a)
addi8(r3, r4, 5)