Browse Source

Fix memory check.

Signed-off-by: Chris Cromer <chris@cromer.cl>
master
Chris Cromer 2 years ago
parent
commit
12523d3577
  1. 7
      .idea/inspectionProfiles/profiles_settings.xml
  2. 2
      js/jvon-interpret.js

7
.idea/inspectionProfiles/profiles_settings.xml

@ -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>

2
js/jvon-interpret.js

@ -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