The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: zhiling0229 on March 26, 2007, 01:45:54 PM

Title: How can i view the eip register?
Post by: zhiling0229 on March 26, 2007, 01:45:54 PM
Hi,

How can i view the eip register?

I tried :

mov  _eip, eip

but the compiler do not recognize eip register.

pushad don't seem to be possible as the eip register is not push into the stack for me to pop it out?

Any ideas guys? Thanks a million
Title: Re: How can i view the eip register?
Post by: u on March 26, 2007, 01:55:11 PM
mov _eip,$
Title: Re: How can i view the eip register?
Post by: BogdanOntanu on March 26, 2007, 04:57:59 PM
You can also use the "delta trick" :


call _delta
_delta: pop eax