I'm trying to write a simple code in assembly and I'm having troubles when comparing two values using cmp. I want to jump to a certain point if my value is not between 65 and 90.
cmp $65, (%ebx) jl looping cmp $90, (%ebx) jg check_minusculas Running gdb I have that %ebx value is 0x80490f9 and using:
x /1db 0x80490f9 I get that (%ebx) is 77. However, the program jumps to check_minusculas when obviously 77<90.
What am I missing here?
Thanks!