summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Abed <michael@pidgey.localdomain>2012-01-29 19:12:51 -0500
committerMichael Abed <michael@pidgey.localdomain>2012-01-29 19:12:51 -0500
commita314b73186a043b7fff286007b06d2b83c18502c (patch)
tree7b5e180a6aa816fff0cfcef35170b467bdd08888
parent2cad8b8687133ba2c38767e58166d728b65731eb (diff)
downloadec327-hw1-a314b73186a043b7fff286007b06d2b83c18502c.tar.gz
ec327-hw1-a314b73186a043b7fff286007b06d2b83c18502c.tar.bz2
ec327-hw1-a314b73186a043b7fff286007b06d2b83c18502c.zip
je and jne had their opcodes reversed... whoops
-rwxr-xr-xasmblr.py4
1 files 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,