pgubook-readers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pgubook-readers] movl _start, %eax


From: Shuaib
Subject: Re: [Pgubook-readers] movl _start, %eax
Date: Mon, 22 Nov 2004 20:24:41 -0800 (PST)

Well, things are making a little sense, but not
completely. If I place the "movl _start, %eax" right
after a few lines after _start in maximum.s, I do get
"0xbf" like harold mentioned. This is the correct
response. Harold, could yout put this instruction in
other location in the code (you might want to change
eax to edx or something that is not used) to see if
you are getting other values in %eax?

I started moving this line and after I just moved it
past  the line "incl %edi", I started getting the 0xcc
again. I repeated this experiment by moving it around
and I would get 0xcc but it was never consistant. But
I always got the 0xbf if I placed the movl _start,
%eax command right after _start. It is obvious that
the _start location is getting changed. I can
understand this is this was the data section, but why
is the text section getting changed? Anyone?

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]