Skip to content
Snippets Groups Projects
Commit 933eab46 authored by Damien George's avatar Damien George
Browse files

py/bc: Update opcode_format_table to match the bytecode.

parent add933fe
Branches
No related tags found
No related merge requests found
...@@ -321,7 +321,7 @@ STATIC const byte opcode_format_table[64] = { ...@@ -321,7 +321,7 @@ STATIC const byte opcode_format_table[64] = {
OC4(O, O, U, U), // 0x38-0x3b OC4(O, O, U, U), // 0x38-0x3b
OC4(U, O, B, O), // 0x3c-0x3f OC4(U, O, B, O), // 0x3c-0x3f
OC4(O, B, B, O), // 0x40-0x43 OC4(O, B, B, O), // 0x40-0x43
OC4(B, B, O, U), // 0x44-0x47 OC4(B, B, O, B), // 0x44-0x47
OC4(U, U, U, U), // 0x48-0x4b OC4(U, U, U, U), // 0x48-0x4b
OC4(U, U, U, U), // 0x4c-0x4f OC4(U, U, U, U), // 0x4c-0x4f
OC4(V, V, U, V), // 0x50-0x53 OC4(V, V, U, V), // 0x50-0x53
...@@ -361,7 +361,7 @@ STATIC const byte opcode_format_table[64] = { ...@@ -361,7 +361,7 @@ STATIC const byte opcode_format_table[64] = {
OC4(B, B, B, B), // 0xcc-0xcf OC4(B, B, B, B), // 0xcc-0xcf
OC4(B, B, B, B), // 0xd0-0xd3 OC4(B, B, B, B), // 0xd0-0xd3
OC4(B, B, B, B), // 0xd4-0xd7 OC4(U, U, U, B), // 0xd4-0xd7
OC4(B, B, B, B), // 0xd8-0xdb OC4(B, B, B, B), // 0xd8-0xdb
OC4(B, B, B, B), // 0xdc-0xdf OC4(B, B, B, B), // 0xdc-0xdf
...@@ -372,7 +372,7 @@ STATIC const byte opcode_format_table[64] = { ...@@ -372,7 +372,7 @@ STATIC const byte opcode_format_table[64] = {
OC4(B, B, B, B), // 0xf0-0xf3 OC4(B, B, B, B), // 0xf0-0xf3
OC4(B, B, B, B), // 0xf4-0xf7 OC4(B, B, B, B), // 0xf4-0xf7
OC4(B, B, B, U), // 0xf8-0xfb OC4(U, U, U, U), // 0xf8-0xfb
OC4(U, U, U, U), // 0xfc-0xff OC4(U, U, U, U), // 0xfc-0xff
}; };
#undef OC4 #undef OC4
......
...@@ -105,7 +105,7 @@ def make_opcode_format(): ...@@ -105,7 +105,7 @@ def make_opcode_format():
OC4(O, O, U, U), # 0x38-0x3b OC4(O, O, U, U), # 0x38-0x3b
OC4(U, O, B, O), # 0x3c-0x3f OC4(U, O, B, O), # 0x3c-0x3f
OC4(O, B, B, O), # 0x40-0x43 OC4(O, B, B, O), # 0x40-0x43
OC4(B, B, O, U), # 0x44-0x47 OC4(B, B, O, B), # 0x44-0x47
OC4(U, U, U, U), # 0x48-0x4b OC4(U, U, U, U), # 0x48-0x4b
OC4(U, U, U, U), # 0x4c-0x4f OC4(U, U, U, U), # 0x4c-0x4f
OC4(V, V, U, V), # 0x50-0x53 OC4(V, V, U, V), # 0x50-0x53
...@@ -145,7 +145,7 @@ def make_opcode_format(): ...@@ -145,7 +145,7 @@ def make_opcode_format():
OC4(B, B, B, B), # 0xcc-0xcf OC4(B, B, B, B), # 0xcc-0xcf
OC4(B, B, B, B), # 0xd0-0xd3 OC4(B, B, B, B), # 0xd0-0xd3
OC4(B, B, B, B), # 0xd4-0xd7 OC4(U, U, U, B), # 0xd4-0xd7
OC4(B, B, B, B), # 0xd8-0xdb OC4(B, B, B, B), # 0xd8-0xdb
OC4(B, B, B, B), # 0xdc-0xdf OC4(B, B, B, B), # 0xdc-0xdf
...@@ -156,7 +156,7 @@ def make_opcode_format(): ...@@ -156,7 +156,7 @@ def make_opcode_format():
OC4(B, B, B, B), # 0xf0-0xf3 OC4(B, B, B, B), # 0xf0-0xf3
OC4(B, B, B, B), # 0xf4-0xf7 OC4(B, B, B, B), # 0xf4-0xf7
OC4(B, B, B, U), # 0xf8-0xfb OC4(U, U, U, U), # 0xf8-0xfb
OC4(U, U, U, U), # 0xfc-0xff OC4(U, U, U, U), # 0xfc-0xff
)) ))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment