This commit is contained in:
2026-05-15 08:04:30 -05:00
parent 06e5be5c89
commit a0881e3c22
3 changed files with 25 additions and 2 deletions

View File

@@ -227,6 +227,10 @@ local function assemble(proto)
if opcode == nil then error("Unknown instruction " .. inst[1]) end
if operand == nil then
push8(opcode)
elseif type(operand) == 'string' then
-- TODO
push8(opcode)
push16(0)
else
if opcode >= 0xc0 and opcode < 0xe0 then
push8(opcode)