Posted: Tue Feb 23, 2016 8:59 pm Post subject: Comparing an integer with the value in a pointer?
Hi there. I want to compare an integer with the value in a pointer, for example:
1. the integer variable "number" equals to 100 (in decimal).
2. the pointer is: byte ptr [ebx+19]
3. I want to do something like this:
Code:
cmp byte ptr [ebx+19],number
jg originalcode
But it seems the comparison does not work, please help, I have been working on this for half a day....
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum