ESP register has 8040 or similar number in high half

0 Likes

Problem:

ESP register has 8040 or similar number in high half

Resolution:

Some programs make use of a 16 bit stack but reference the ESP

  register ( which is 32 bit ).  Before doing this, they of course

  clean out the high half.  When stepping in Soft-ICE, the ESP always

  has 8040 in the high half.  The problem is that when an interrupt

  goes off, it is vectored to an ISR with a 32 bit stack, thus all

  of ESP is used.  When IRET is executed, the high half is not cleared.

  Soft-ICE generates INT 1 to do the stepping, thus the high half

  will always have 8040 or similar numbers in it.  There is no

  workaround.

Old KB# 11523
Comment List
Anonymous
Related Discussions
Recommended