mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 16:29:21 +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);
|
SetIntVec(FarInt, @IntFarHandler);
|
||||||
|
|
||||||
asm
|
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
|
int NearInt
|
||||||
call g16 { near }
|
call g16 { near }
|
||||||
|
|
||||||
|
@ -125,6 +125,15 @@ begin
|
|||||||
SetIntVec(FarInt, @IntFarHandler);
|
SetIntVec(FarInt, @IntFarHandler);
|
||||||
|
|
||||||
asm
|
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
|
int NearInt
|
||||||
jmp g16 { near }
|
jmp g16 { near }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user