+ 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:
nickysn 2015-10-28 13:32:18 +00:00
parent 9c0d550320
commit 13441261f2
2 changed files with 36 additions and 0 deletions

View File

@ -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');

View File

@ -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');