diff options
author | Damien George <damien.p.george@gmail.com> | 2016-09-23 12:48:57 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-09-23 12:48:57 +1000 |
commit | 7df9291b6c33fb8b5ff3215939f7f563d235e8c4 (patch) | |
tree | 891630b69ea0f67558fa9385080ea32973147ba9 | |
parent | e97df976008ea8d3dbd291ebcc72f5416d63a7ce (diff) |
py: Update opcode format table because 3 opcodes were removed, 1 added.
LIST_APPEND, MAP_ADD and SET_ADD have been removed, and STORE_COMP has
been added in adaf0d865cd6c81fb352751566460506392ed55f.
-rw-r--r-- | py/bc.c | 4 | ||||
-rwxr-xr-x | tools/mpy-tool.py | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -308,8 +308,8 @@ STATIC const byte opcode_format_table[64] = { OC4(B, B, O, U), // 0x44-0x47 OC4(U, U, U, U), // 0x48-0x4b OC4(U, U, U, U), // 0x4c-0x4f - OC4(V, V, V, V), // 0x50-0x53 - OC4(B, V, V, V), // 0x54-0x57 + OC4(V, V, U, V), // 0x50-0x53 + OC4(B, U, V, V), // 0x54-0x57 OC4(V, V, V, B), // 0x58-0x5b OC4(B, B, B, U), // 0x5c-0x5f OC4(V, V, V, V), // 0x60-0x63 diff --git a/tools/mpy-tool.py b/tools/mpy-tool.py index bc8ac4fbd..2bb9fc367 100755 --- a/tools/mpy-tool.py +++ b/tools/mpy-tool.py @@ -107,8 +107,8 @@ def make_opcode_format(): OC4(B, B, O, U), # 0x44-0x47 OC4(U, U, U, U), # 0x48-0x4b OC4(U, U, U, U), # 0x4c-0x4f - OC4(V, V, V, V), # 0x50-0x53 - OC4(B, V, V, V), # 0x54-0x57 + OC4(V, V, U, V), # 0x50-0x53 + OC4(B, U, V, V), # 0x54-0x57 OC4(V, V, V, B), # 0x58-0x5b OC4(B, B, B, U), # 0x5c-0x5f OC4(V, V, V, V), # 0x60-0x63 |