News for hackers. Stuff that matters.
Re:Compiling to Assembly from Scratch [free to read online] by gus_massa on Monday September 23, 2024 @10:13AM (#41626365)
Assuming ebx is the pointer to the array and ecx is the length, doesn't this sum the slots from 1 to ecx (incusive) instead of 0 to ecx-1 (inclusive)?
Re:Compiling to Assembly from Scratch [free to read online] by kragen on Monday September 23, 2024 @10:25AM (#41626477)
hahaha, yes! i guess it wasn't as trivial as i thought. that's what i get for trying to be clever — guess i wouldn't have done that well on that exam ;)