mirror of
https://github.com/simon987/Much-Assembly-Required-Frontend.git
synced 2025-12-14 07:09:06 +00:00
Fixes #15
This commit is contained in:
@@ -172,7 +172,7 @@ function getOperandType(text, result) {
|
||||
|
||||
//Check IMM
|
||||
if (!isNaN(Number(text)) && Number(text) === Math.floor(Number(text)) && text.indexOf("o") === -1
|
||||
&& text.indexOf("e") === -1) {
|
||||
&& text.indexOf("0e") !== 0) {
|
||||
return OPERAND_IMM;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user