mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 18:29:27 +02:00
+ extended tests with some additional ways to produce call relative near/absolute far in BP7's inline asm
git-svn-id: trunk@32172 -
This commit is contained in:
parent
9c0d550320
commit
13441261f2
@ -73,24 +73,42 @@ begin
|
||||
asm
|
||||
int NearInt
|
||||
call testproc1
|
||||
int NearInt
|
||||
call [testproc1]
|
||||
int FarInt
|
||||
call testproc2
|
||||
int FarInt
|
||||
call [testproc2]
|
||||
int FarInt
|
||||
call testproc3
|
||||
int FarInt
|
||||
call [testproc3]
|
||||
|
||||
int NearInt
|
||||
call near ptr testproc1
|
||||
int NearInt
|
||||
call near ptr [testproc1]
|
||||
int NearInt
|
||||
call near ptr testproc2
|
||||
int NearInt
|
||||
call near ptr [testproc2]
|
||||
int NearInt
|
||||
call near ptr testproc3
|
||||
int NearInt
|
||||
call near ptr [testproc3]
|
||||
|
||||
int FarInt
|
||||
call far ptr testproc1
|
||||
int FarInt
|
||||
call far ptr [testproc1]
|
||||
int FarInt
|
||||
call far ptr testproc2
|
||||
int FarInt
|
||||
call far ptr [testproc2]
|
||||
int FarInt
|
||||
call far ptr testproc3
|
||||
int FarInt
|
||||
call far ptr [testproc3]
|
||||
end;
|
||||
Writeln('Ok');
|
||||
|
||||
|
@ -73,24 +73,42 @@ begin
|
||||
asm
|
||||
int NearInt
|
||||
call testproc1
|
||||
int NearInt
|
||||
call [testproc1]
|
||||
int FarInt
|
||||
call testproc2
|
||||
int FarInt
|
||||
call [testproc2]
|
||||
int NearInt
|
||||
call testproc3
|
||||
int NearInt
|
||||
call [testproc3]
|
||||
|
||||
int NearInt
|
||||
call near ptr testproc1
|
||||
int NearInt
|
||||
call near ptr [testproc1]
|
||||
int NearInt
|
||||
call near ptr testproc2
|
||||
int NearInt
|
||||
call near ptr [testproc2]
|
||||
int NearInt
|
||||
call near ptr testproc3
|
||||
int NearInt
|
||||
call near ptr [testproc3]
|
||||
|
||||
int FarInt
|
||||
call far ptr testproc1
|
||||
int FarInt
|
||||
call far ptr [testproc1]
|
||||
int FarInt
|
||||
call far ptr testproc2
|
||||
int FarInt
|
||||
call far ptr [testproc2]
|
||||
int FarInt
|
||||
call far ptr testproc3
|
||||
int FarInt
|
||||
call far ptr [testproc3]
|
||||
end;
|
||||
Writeln('Ok');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user