Bug fix: The "calls" instruction could be called with

first argument > 255. This is corrected.
This commit is contained in:
ceriel 1986-03-04 11:39:22 +00:00
parent 10569743c8
commit 249314e586

View file

@ -4233,14 +4233,14 @@ cms zne $1==4 | | | | cmp zne $2 |
* Group 14 : Procedure call instructions *
************************************************/
cai asp $2%4 == 0 && $2>=0
cai asp $2%4 == 0 && $2>=0 && $2 < 1024
| reg4 |
remove(ALL)
"calls\t$$%($2/4%),(%[1])" | | |
cai | reg4 |
remove(ALL)
"calls\t$$0,(%[1])" | | |
cal asp $2%4 == 0 && $2>=0
cal asp $2%4 == 0 && $2>=0 && $2 < 1024
| | remove(ALL)
"calls\t$$%($2/4%),$1" | | |
cal | | remove(ALL)