News for hackers. Stuff that matters.
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?
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.
Re:X86 is a high-level language by DrJokepu on Wednesday March 25, 2015 @09:21PM (#9267237)
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?
Re:X86 is a high-level language by caf on Wednesday March 25, 2015 @11:52PM (#9267724)
Yes, it's a allocation technique called "single static assignment".