1.When I call anothet 32-bit code segment from 16-bit code segment in P-Mode,
I find it push address for 8 bytes,I am strange that the next instruction offset
address has 2 bytes in 16-bit,and it add selector for 2 bytes,so it shouldn't
has 8 bytes,why?
Code:
codecseg segment use32
assume cs:codecseg
cstart proc far
.......
retf
cstart endp
codecseg ends
;
cseg1 segment use16
assume cs:cseg1
....
call codecseg_sel:offset cstart
....
cseg1 ends
2.When I call anothet 16-bit code segment from 32-bit code segment in P-Mode,
I find it push address for 4 bytes,I am strange that the next instruction offset
address has 4 bytes in 32-bit,and it add selector for 2 bytes,so it shouldn't
has 4 bytes,why?
Code:
codecseg segment use16
assume cs:codecseg
cstart proc far
.......
retf
cstart endp
codecseg ends
;
cseg1 segment use32
assume cs:cseg1
....
call codecseg_sel:offset cstart
....
cseg1 ends