Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

What the shit! ASM!

Name: Anonymous 2010-08-21 7:23

Hi /prog/

I have writen a program in ASM and for some odd reason this:
call dicks
movl %ecx, 1(%edx, %eax, 4)
does not work, but this code:
call dicks
movl %eax, %ebx
movl %ecx, 1(%edx, %ebx, 4)
does.

And no, there is no code that alters eax inbetween, its just 0, i examined that and it was not 0 before.
edx is correct too, i checked it.

I also get a FP exception when making a division and ecx is not 0.

I am currently reading 286 and 386 programmer manuals by the way.

What the fuck is going on here? Am i missing something?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List