32-bit call w/ 16-bit return.
x86bios_at_gmail.com
Date: 03/04/05
- Next message: x86bios_at_gmail.com: "Re: 32-bit call w/ 16-bit return."
- Previous message: Percival: "Re: XML-based object orientated pre-Assembler"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 4 Mar 2005 13:30:28 -0800
Hi,
I'm compiling an option rom. The strange thing happends with calling
functions that are defined in other files:
Assembly file 1:
_TEXT Segment para public USE16
66| E8 00000000 E call MyFunction ;
_TEXT ends
As a result of this a dword is pushed on to the stack.
Assembly file 2:
_TEXT Segment para public USE16
0000 initializeSegmentPointer proc
0043 C3 ret
0044 initializeSegmentPointer endp
_TEXT ends
As the result of the return, ONLY THE FIRST WORD is popped from the
stack.
Any ideas why such a mismatch?
Thanks!
- Dima.
- Next message: x86bios_at_gmail.com: "Re: 32-bit call w/ 16-bit return."
- Previous message: Percival: "Re: XML-based object orientated pre-Assembler"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|