I'm a bit confused about the mov instruction that moves from or to control
register to or from general purpose register. In intel's x86 manual it says:
"At the opcode level, the reg field within the ModR/M byte specifies which
control registers is loaded or read. The 2 bits in the mod field are always
r/m field specifies the general-purpose register loaded or read."
So you can clearly see that segment register is specified by reg field and
purpose register is specified by r/m field. My question is how processor
knows looking at the intel instruction that now if i mov the contents of
control register to general
purpose register(with the mov instruction), the processor now has to read
control register(not load to control register) and write to(not read from)
general purpose register? Is there any special bit in the instruction format
speciefies it? Thanks.
Windows Live Hotmail gives you the control you need to help you keep your
e-mail private, safe and secure. See for yourself!