From 3148b4cac08bbbf8312524cb58d1c053786bda7b Mon Sep 17 00:00:00 2001 From: Rob McMullen Date: Tue, 28 Feb 2017 14:02:10 -0800 Subject: [PATCH] Added missing $ to immediate hex data --- 8051.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/8051.py b/8051.py index e96b219..bb6fc10 100644 --- a/8051.py +++ b/8051.py @@ -60,7 +60,7 @@ addressModeTable = { "direct,@r1" : "${0:02X},@r1", "direct,a" : "${0:02X},a", "direct,direct" : "${0:02X},${1:02X}", -"direct,immed" : "${0:02X},#{1:02X}", +"direct,immed" : "${0:02X},#${1:02X}", "direct,offset" : "${0:02X},${1:02X}", "direct,r0" : "${0:02X},r0", "direct,r1" : "${0:02X},r1",