Browse Source

Fix memory check.

Signed-off-by: Chris Cromer <chris@cromer.cl>
tags/1.1.1
Chris Cromer 7 months ago
parent
commit
12523d3577
2 changed files with 1 additions and 8 deletions
  1. +0
    -7
      .idea/inspectionProfiles/profiles_settings.xml
  2. +1
    -1
      js/jvon-interpret.js

+ 0
- 7
.idea/inspectionProfiles/profiles_settings.xml 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>

+ 1
- 1
js/jvon-interpret.js 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

Loading…
Cancel
Save