diff options
author | Michael Abed <michael@pidgey.localdomain> | 2012-01-29 19:12:51 -0500 |
---|---|---|
committer | Michael Abed <michael@pidgey.localdomain> | 2012-01-29 19:12:51 -0500 |
commit | a314b73186a043b7fff286007b06d2b83c18502c (patch) | |
tree | 7b5e180a6aa816fff0cfcef35170b467bdd08888 | |
parent | 2cad8b8687133ba2c38767e58166d728b65731eb (diff) | |
download | ec327-hw1-a314b73186a043b7fff286007b06d2b83c18502c.tar.gz ec327-hw1-a314b73186a043b7fff286007b06d2b83c18502c.tar.bz2 ec327-hw1-a314b73186a043b7fff286007b06d2b83c18502c.zip |
je and jne had their opcodes reversed... whoops
-rwxr-xr-x | asmblr.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, |