Go4Expert (http://www.go4expert.com/)
-   Assembly Language Programming (ALP) Forum (http://www.go4expert.com/forums/assembly-language-programming-forum/)
-   -   question about cmp - newbie (http://www.go4expert.com/forums/question-cmp-newbie-t28238/)

mashour06 19Apr2012 20:03

question about cmp - newbie
I am new to assembly language programming and reading professional assembly language by Richard Blum, I would like to ask about cmp instruction (at&t syntax):

cmpl %eax, %ecx
ja label
does it mean jump to label if eax is above ecx, or if ecx is above eax?
and which instruction would be right here ja or jg?
any help would be greatly appreciated.
thank you.

All times are GMT +5.5. The time now is 09:00.