Skip to contentSkip to conversation

Jump to TSS question

Qemu-devel Fabrice Bellard 2 participants 2 messages Mar 24, 2004 – Mar 26, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

With the latest TSS fixes, SkyOS should begin to work in QEMU.

I have a question for x86 experts: when switching to a task with the 'JMP' instruction, which value of EIP is saved in the old task ? Is it the value pointing to the JMP instruction or the value pointing to the instruction after ?

Fabrice.

#1 lore raw

Hello,

Quoted 4 lines · Fabrice Bellard

I have a question for x86 experts: when switching to a task with the 'JMP' instruction, which value of EIP is saved in the old task ? Is it the value pointing to the JMP instruction or the value pointing to the instruction after ?

I'm not a x86 expert but an information is here.

http://www7.informatik.uni-erlangen.de/~msdoerfe/embedded/386html/s07_05.htm

It says, "The EIP field of the TSS points to the instruction after the one that caused the task switch."

Sincerely,
kazu