Browse Source

Fixed a typo

master
Bryan Miller 5 years ago
parent
commit
bed8ec0d7b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/chip/MOS6502/assembler.js

+ 1
- 1
src/chip/MOS6502/assembler.js View File

@@ -203,7 +203,7 @@ function StoreBranchOp(data, cmp, code){
let v = Number.NaN;
if (cmp.tokens[1][0] === '$'){
if (cmp.tokens[1].length === 3 || cmp.tokens[1].length === 5){
v = parseInt(cmp.token[1].substr(1), 16);
v = parseInt(cmp.tokens[1].substr(1), 16);
}
} else {
if (cmp.tokens[1] in data.jmplabels){

Loading…
Cancel
Save