From a314b73186a043b7fff286007b06d2b83c18502c Mon Sep 17 00:00:00 2001 From: Michael Abed Date: Sun, 29 Jan 2012 19:12:51 -0500 Subject: je and jne had their opcodes reversed... whoops --- asmblr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asmblr.py b/asmblr.py index e6a35e1..ba2c89c 100755 --- a/asmblr.py +++ b/asmblr.py @@ -85,8 +85,8 @@ opcodes = { 'halt': 0x0, 'inc' : 0x1, 'jmp' : 0x2, - 'je' : 0x3, - 'jne' : 0x4, + 'jne' : 0x3, + 'je' : 0x4, 'add' : 0x5, 'sub' : 0x6, 'xor' : 0x7, -- cgit v1.2.3