fsub check enhanced

This commit is contained in:
pierre 2002-10-31 13:16:27 +00:00
parent 630f9266bd
commit cc47536e71
3 changed files with 30 additions and 0 deletions

View File

@ -64,6 +64,16 @@ begin
fstp %st
end;
Writeln('ATT result of 4/2=',z:0:2);
if z <> 2.0 then
Halt(1);
asm
fldl y
fldl x
fdiv %st,%st(1)
fstp %st
fstpl z
end;
Writeln('ATT result of 4/2=',z:0:2);
if z <> 2.0 then
Halt(1);
asm

View File

@ -59,6 +59,16 @@ begin
fstp %st
end;
Writeln('ATT result of 4/2=',z:0:2);
if z <> 2.0 then
Halt(1);
asm
fldl y
fldl x
fdiv %st,%st(1)
fstp %st
fstpl z
end;
Writeln('ATT result of 4/2=',z:0:2);
if z <> 2.0 then
Halt(1);
asm

View File

@ -53,6 +53,16 @@ begin
fstp %st
end;
Writeln('ATT result of 4/2=',z:0:2);
if z <> 2.0 then
Halt(1);
asm
fldl y
fldl x
fdiv %st,%st(1)
fstp %st
fstpl z
end;
Writeln('ATT result of 4/2=',z:0:2);
if z <> 2.0 then
Halt(1);
asm