From 249314e586f9374b4a92455d09b5476d22e9eb7a Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 4 Mar 1986 11:39:22 +0000 Subject: [PATCH] Bug fix: The "calls" instruction could be called with first argument > 255. This is corrected. --- mach/vax4/cg/table | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mach/vax4/cg/table b/mach/vax4/cg/table index db86f3d9f..852540535 100644 --- a/mach/vax4/cg/table +++ b/mach/vax4/cg/table @@ -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) -- 2.34.1