< pointless angry ranblings. >
Their are a million on-line assembly tutorials...
every single one the same...
stick the write system call number into eax, the std-out number into ebx, a string into ecx, and a string length to edx, and interput 0x80.
HELLO world.... now you are an assembly expert..
Im going to kill the next person i see who rites such an empty tutorial
< / pointless angry ranblings >
Righty...
Im looking for a list of assembly instrucions, and maybe a line or two of comment to show their meaning..
i can guess most of them, but leal keps showing up in my test programs ( tutorials are all utterly usless, so im compiling c code, and making gcc dump the assembly code )
what does leal do ?
thanks.
e.g.
CODE
void funtction1() {
int A = 10;
A += 66;
}
compiles to...
CODE
funtction1:
pushl %ebp #
movl %esp, %ebp #,
subl $4, %esp #,
movl $10, -4(%ebp) #, A
leal -4(%ebp), %eax #, tmp59 THIS LINE !!!
addl $66, (%eax) #, A
leave
ret
i understand nmostly everything,,, EXCEPT leal

