Skip to content

Commit

Permalink
Reran browserify
Browse files Browse the repository at this point in the history
  • Loading branch information
eliben committed Jun 28, 2021
1 parent fffa745 commit a84d058
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion js8080simBundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ class Assembler {
}
case 'sta': {
this._expectArgsCount(sl, 1);
let num = this._argImmOrLabel(sl, sl.args[1], curAddr);
let num = this._argImmOrLabel(sl, sl.args[0], curAddr);
// 16-bit immediates encoded litte-endian.
return [0b00110010, num & 0xff, (num >> 8) & 0xff];
}
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@
"homepage": "https://github.com/eliben/js-8080-sim#readme",
"devDependencies": {
"mocha": "^8.4.0"
},
"dependencies": {
"browserify": "^17.0.0"
}
}

0 comments on commit a84d058

Please sign in to comment.