From 2ccd25b5e68b0f88cb3d667635429f70af4f54d9 Mon Sep 17 00:00:00 2001 From: cathulhu Date: Wed, 1 Dec 2021 20:14:10 -0800 Subject: [PATCH] fixed typo --- Server/src/main/resources/static/js/editor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Server/src/main/resources/static/js/editor.js b/Server/src/main/resources/static/js/editor.js index c85e1df..69571bc 100644 --- a/Server/src/main/resources/static/js/editor.js +++ b/Server/src/main/resources/static/js/editor.js @@ -334,6 +334,7 @@ function parseInstruction(line, result, currentLine) { line = removeComment(line); line = removeLabel(line); + var mnemonic = getTokens(line)[0]; //this is the instruction IE opcode, like mov, add, pop, etc... //handle abort cases if (mnemonic === undefined || mnemonic === "") { @@ -346,7 +347,7 @@ function parseInstruction(line, result, currentLine) { return } - var mnemonic = getTokens(line)[0]; //this is the instruction IE opcode, like mov, add, pop, etc... + instructionAnalyzer(line, result, mnemonic) return }