diff options
author | Damien George <damien.p.george@gmail.com> | 2016-01-28 16:11:41 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-01-28 16:11:41 +0000 |
commit | 7b05b1b22526d28f15da4c656440ebc6ba1455b8 (patch) | |
tree | 3f45145c7240e1107f9df215062829a426ffa95a /py/bc.c | |
parent | ac37e0fd1fd5cce090035264ef4d7412735b9f7d (diff) | |
download | micropython-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |