Browse Source

Fix memory check.

Signed-off-by: Chris Cromer <chris@cromer.cl>
Chris Cromer 1 month 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 @@
1
-<component name="InspectionProjectProfileManager">
2
-  <settings>
3
-    <option name="PROJECT_PROFILE" value="Project Default" />
4
-    <option name="USE_PROJECT_PROFILE" value="true" />
5
-    <version value="1.0" />
6
-  </settings>
7
-</component>

+ 1
- 1
js/jvon-interpret.js View File

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

Loading…
Cancel
Save