From ecd866e380881b63f83f7d3ed245d4b25ca7b1f0 Mon Sep 17 00:00:00 2001 From: Rob McMullen Date: Tue, 28 Feb 2017 16:42:20 -0800 Subject: [PATCH] Fixed missing pcr flag from 8051's sjmp --- 8051.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/8051.py b/8051.py index bb6fc10..e498f7b 100644 --- a/8051.py +++ b/8051.py @@ -268,7 +268,7 @@ opcodeTable = { 0x7e : [ 2, "mov", "r6,immed" ], 0x7f : [ 2, "mov", "r7,immed" ], -0x80 : [ 2, "sjmp", "offset" ], +0x80 : [ 2, "sjmp", "offset", pcr ], 0x81 : [ 2, "ajmp", "addr11" ], 0x82 : [ 2, "anl", "c,bit" ], 0x83 : [ 1, "movc", "a,@a+pc" ],