07-17-07 12:21 PM
Rainer Temme wrote:
> nass wrote:
>
>
>
>
>
> It's connected to memory by the simple fact, that the next instruction
> is going to be loaded from there ... isn't this the very purpose of
> the program counter? So, your process now tries to execute code from
> a memory page that isn't even mapped ... what do you expect ... I mean
> besides a segfault.
Furthermore, it is extremely likely that RESET does other
things besides just zero the program counter. It probably
puts the MMU in a known state (e.g., "disabled"), puts the
interrupt mechanisms in a known state (e.g., "disabled"), and
re-frollixes the jimjams. The exact list of things RESET does
will be found in your processor and/or chipset documentation;
by doing just one of those many things you will not achieve
a RESET.
The act of getting dressed involves donning various
undergarments, a shirt, trousers, shoes, and maybe a hat.
If you climbed out of the bath, put on your shoes, and
walked out into the street, would you be dressed?
--
Eric Sosman
esosman@ieee-dot-org.invalid
[ Post a follow-up to this message ]
|