Fixed bug in Indirect Zero Page

This commit is contained in:
Leeland Heins 2018-12-18 08:21:45 -06:00 committed by GitHub
parent 641550c723
commit 1ef8c4a0db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1674,7 +1674,6 @@ sub is_Indirect_Zero_Page {
} else {
return 0 unless $symval =~ /^\$[0-9a-fA-F][0-9a-fA-F]$/;
}
return 0;
}
return 2;
} elsif ($operand =~ /^\(([A-Za-z\.][A-Za-z0-9_\.]+)\s*[+-]\s*(\d+)\)$/) {
@ -1686,7 +1685,6 @@ sub is_Indirect_Zero_Page {
} else {
return 0 unless $symval =~ /^\$[0-9a-fA-F][0-9a-fA-F]$/;
}
return 0;
}
return 2;
}