Commit 4e4a040c authored by Brandon Warner's avatar Brandon Warner
Browse files

missed reset ins

parent 017e2403
Pipeline #441 passed with stage
in 15 seconds
......@@ -226,7 +226,7 @@ INSTS = [
{"inst":"call","size":3,"arg_re":re.compile("nz, *([^\\s]*)"), "bytecode": 0xC4, "out":struct.Struct('<BH')}, # call nz, **
{"inst":"push","size":1,"arg_re":re.compile("bc"), "bytecode": 0xC5, "out":struct.Struct('<B')}, # push bc
{"inst":"add","size":2,"arg_re":re.compile("a, *([^\\s]*)"), "bytecode": 0xC6, "out":struct.Struct('<BB')}, # add a, *
{"inst":"or","size":1,"arg_re":re.compile("00h"), "bytecode": 0xC7, "out":struct.Struct('<B')}, # rst 00h
{"inst":"rst","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('<BH')}, # jp z, **
......@@ -234,7 +234,7 @@ INSTS = [
{"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
{"inst":"rst","size":1,"arg_re":re.compile("08h"), "bytecode": 0xCF, "out":struct.Struct('<B')}, # rst 08h
]
HEX_RE = re.compile("0x[A-Fa-f0-9]+")
......
Supports Markdown
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