summaryrefslogtreecommitdiffstatshomepage
path: root/py/bc.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-01-28 16:11:41 +0000
committerDamien George <damien.p.george@gmail.com>2016-01-28 16:11:41 +0000
commit7b05b1b22526d28f15da4c656440ebc6ba1455b8 (patch)
tree3f45145c7240e1107f9df215062829a426ffa95a /py/bc.c
parentac37e0fd1fd5cce090035264ef4d7412735b9f7d (diff)
downloadmicropython-7b05b1b22526d28f15da4c656440ebc6ba1455b8.tar.gz
micropython-7b05b1b22526d28f15da4c656440ebc6ba1455b8.zip
py/bc: Update opcode format table now that MP_BC_NOT opcode is gone.
MP_BC_NOT was removed and the "not" operation made a proper unary operator, and the opcode format table needs to be updated to reflect this change (but actually the change is only cosmetic).
Diffstat (limited to 'py/bc.c')
-rw-r--r--py/bc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/bc.c b/py/bc.c
index 66b80b679c..750ca2aed8 100644
--- a/py/bc.c
+++ b/py/bc.c
@@ -304,7 +304,7 @@ STATIC const byte opcode_format_table[64] = {
OC4(O, O, U, U), // 0x38-0x3b
OC4(U, O, B, O), // 0x3c-0x3f
OC4(O, B, B, O), // 0x40-0x43
- OC4(B, B, O, B), // 0x44-0x47
+ 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
@@ -355,7 +355,7 @@ STATIC const byte opcode_format_table[64] = {
OC4(B, B, B, B), // 0xf0-0xf3
OC4(B, B, B, B), // 0xf4-0xf7
- OC4(B, B, U, U), // 0xf8-0xfb
+ OC4(B, B, B, U), // 0xf8-0xfb
OC4(U, U, U, U), // 0xfc-0xff
};
#undef OC4