trap 9 does not push ec: fix from Greg Price <price@mit.edu>

This commit is contained in:
kolya 2008-09-24 18:20:56 +00:00
parent c7317d4dc7
commit 0159c8bb94

View file

@ -12,7 +12,7 @@ print ".globl alltraps\n";
for(my $i = 0; $i < 256; $i++){ for(my $i = 0; $i < 256; $i++){
print ".globl vector$i\n"; print ".globl vector$i\n";
print "vector$i:\n"; print "vector$i:\n";
if(($i < 8 || $i > 14) && $i != 17){ if(!($i == 8 || ($i >= 10 && $i <= 14) || $i == 17)){
print " pushl \$0\n"; print " pushl \$0\n";
} }
print " pushl \$$i\n"; print " pushl \$$i\n";