Fix memory check.

Signed-off-by: Chris Cromer <chris@cromer.cl>
This commit is contained in:
Chris Cromer 2019-03-28 14:53:02 -03:00
parent 1672b70f66
commit 12523d3577
2 changed files with 1 additions and 8 deletions

View File

@ -1,7 +0,0 @@
<component name="InspectionProjectProfileManager">
<settings>
<option name="PROJECT_PROFILE" value="Project Default" />
<option name="USE_PROJECT_PROFILE" value="true" />
<version value="1.0" />
</settings>
</component>

View File

@ -782,7 +782,7 @@ document.addEventListener('DOMContentLoaded', function () {
}
}
else if (syntax.type == "memory") {
if ($scope.check_memory_address(value) == true) {
if ($scope.check_memory_address(value) == true && $scope.check_memory_value(value) == true) {
value = parseFloat($scope.memory[value - 80]);
if (value < 0) {
// The exponent is negative