mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 00:19:24 +02:00
+ extended test with call/jmp [d]word ptr const, which produces an indirect call or jump under BP7
git-svn-id: trunk@32177 -
This commit is contained in:
parent
a7a71f8b9f
commit
83d90c7888
@ -125,6 +125,15 @@ begin
|
||||
SetIntVec(FarInt, @IntFarHandler);
|
||||
|
||||
asm
|
||||
int NearInt
|
||||
call word ptr $1234
|
||||
int NearInt
|
||||
call word ptr [$1234]
|
||||
int FarInt
|
||||
call dword ptr $1234
|
||||
int FarInt
|
||||
call dword ptr [$1234]
|
||||
|
||||
int NearInt
|
||||
call g16 { near }
|
||||
|
||||
|
@ -125,6 +125,15 @@ begin
|
||||
SetIntVec(FarInt, @IntFarHandler);
|
||||
|
||||
asm
|
||||
int NearInt
|
||||
jmp word ptr $1234
|
||||
int NearInt
|
||||
jmp word ptr [$1234]
|
||||
int FarInt
|
||||
jmp dword ptr $1234
|
||||
int FarInt
|
||||
jmp dword ptr [$1234]
|
||||
|
||||
int NearInt
|
||||
jmp g16 { near }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user