priller
06-16-2004, 12:26 PM
I'm learning assembly on linux and I'm trying to pass an argument from the command line with a program name.
I can get the agrument off the stack and into a regitster with
movl 8(%esp),%edi
but when i try and compare it with something held in another register that is the fail the flags e register isn't set even though both registers are the same.
Any reason why?
I can get the agrument off the stack and into a regitster with
movl 8(%esp),%edi
but when i try and compare it with something held in another register that is the fail the flags e register isn't set even though both registers are the same.
Any reason why?