Re:X86 is a high-level language
by DrJokepu on Wednesday March 25, 2015 @05:48PM
(#9266180)
Forget the controversial opinion and drama, let's talk about something technical, how does the mov eax, ebx thing work? He said it will update eax to point to the same underlying register ebx points to. But then what happens when something like mov ebx, 9000h is executed? How does the CPU know that this will only apply to ebx, not eax?
[ Parent
| on HN ]
Re:X86 is a high-level language
by stephencanon on Wednesday March 25, 2015 @05:53PM
(#9266216)
The subsequent mov ebx, 9000h will cause ebx to "point to" a new underlying register, leaving the one that corresponds to eax intact.
So every time a new value is loaded into one of the "high level" registers, it's actually loaded into a new underlying register? So the underlying registers are basically immutable?