From 7b05b1b22526d28f15da4c656440ebc6ba1455b8 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 28 Jan 2016 16:11:41 +0000 Subject: [PATCH] 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). --- py/bc.c | 4 ++-- 1 file 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