| let v = Number.NaN; | let v = Number.NaN; | ||||
| if (cmp.tokens[1][0] === '$'){ | if (cmp.tokens[1][0] === '$'){ | ||||
| if (cmp.tokens[1].length === 3 || cmp.tokens[1].length === 5){ | 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 { | } else { | ||||
| if (cmp.tokens[1] in data.jmplabels){ | if (cmp.tokens[1] in data.jmplabels){ |