Commit 017e2403 authored by Brandon Warner's avatar Brandon Warner
Browse files

I should pay more attention

parent 881684a0
Pipeline #440 failed with stage
in 11 seconds
......@@ -229,11 +229,11 @@ INSTS = [
{"inst":"or","size":1,"arg_re":re.compile("00h"), "bytecode": 0xC7, "out":struct.Struct('<B')}, # rst 00h
{"inst":"ret","size":1,"arg_re":re.compile("z"), "bytecode": 0xC8, "out":struct.Struct('<B')}, # ret z
{"inst":"ret","size":1,"arg_re":None, "bytecode": 0xC9, "out":struct.Struct('<B')}, # ret
{"inst":"jp","size":3,"arg_re":re.compile("z, *([^\\s]*)"), "bytecode": 0xCA, "out":struct.Struct('<B')}, # jp z, **
{"inst":"jp","size":3,"arg_re":re.compile("z, *([^\\s]*)"), "bytecode": 0xCA, "out":struct.Struct('<BH')}, # jp z, **
# No CB inst directly
{"inst":"call","size":3,"arg_re":re.compile("z, *([^\\s]*)"), "bytecode": 0xCC, "out":struct.Struct('<B')}, # call z, **
{"inst":"call","size":3,"arg_re":re.compile("([^\\s]*)"), "bytecode": 0xCD, "out":struct.Struct('<B')}, # call **
{"inst":"adc","size":2,"arg_re":re.compile("a, *([^\\s]*)"), "bytecode": 0xCE, "out":struct.Struct('<B')}, # adc a, *
{"inst":"call","size":3,"arg_re":re.compile("z, *([^\\s]*)"), "bytecode": 0xCC, "out":struct.Struct('<BH')}, # call z, **
{"inst":"call","size":3,"arg_re":re.compile("([^\\s]*)"), "bytecode": 0xCD, "out":struct.Struct('<BH')}, # call **
{"inst":"adc","size":2,"arg_re":re.compile("a, *([^\\s]*)"), "bytecode": 0xCE, "out":struct.Struct('<BB')}, # adc a, *
{"inst":"cp","size":1,"arg_re":re.compile("08h"), "bytecode": 0xCF, "out":struct.Struct('<B')}, # rst 08h
]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment