Fix memory check.
Signed-off-by: Chris Cromer <chris@cromer.cl>
This commit is contained in:
parent
1672b70f66
commit
12523d3577
@ -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>
|
|
@ -782,7 +782,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (syntax.type == "memory") {
|
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]);
|
value = parseFloat($scope.memory[value - 80]);
|
||||||
if (value < 0) {
|
if (value < 0) {
|
||||||
// The exponent is negative
|
// The exponent is negative
|
||||||
|
Loading…
Reference in New Issue
Block a user