From 19177c3e95c326f2e428f416a788e9a8ca5e7a64 Mon Sep 17 00:00:00 2001 From: KevinRamharak Date: Wed, 3 Jan 2018 13:28:35 +0100 Subject: [PATCH] Added missing instructions fixes #22 --- mar/editor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mar/editor.js b/mar/editor.js index 13b3920..7d9bd1a 100644 --- a/mar/editor.js +++ b/mar/editor.js @@ -20,7 +20,8 @@ var MarParserSyntax = { 'bp', 'sp' ], doubleOperandInstructions : [ - 'mov', 'add', 'sub', 'and', 'or', 'test', 'cmp', 'shl', 'shr', 'xor', 'rol', 'ror', 'sal', 'sar' + 'mov', 'add', 'sub', 'and', 'or', 'test', 'cmp', 'shl', 'shr', 'xor', 'rol', 'ror', 'sal', 'sar', + 'xchg', 'rcl', 'rcr' ], singleOperandInstructions : [ 'push', 'mul', 'pop', 'div', 'neg', 'call', 'jnz', 'jg', 'jl', 'jge', 'jle', 'hwi', 'hwq', 'jz',