I was debugging with Ollydbg and found an instruction of my interest.


What does this do ? Is it possible to know what are the contents of EAX and FFFF89A3 are ?
Will these contents be meaningful ?
The number FFFF89A3 doesn't look like Hex. What kind of number is it ?

Please reply and that will keep me going.


Posted on 2010-09-15 16:11:04 by lostpacket
It compares eax with FFFF89A3, if it were to compare the contents at it would be surrounded by brackets.

Why don't you think FFFF89A3 doesn't look like a Hex number?

Posted on 2010-09-15 16:51:39 by JimmyClif
Everything in a program is stored in hexadecimal form.

Posted on 2010-09-15 17:03:23 by skywalker
  Not entirelly true i think. The numbers either in memory or in registers have no distinct numeric base. I think it'd be more correct to say they exist in binary numeration. It's in fact the smallest unit.
Posted on 2010-09-15 17:31:53 by xandaz
All right. I converted hexadecimal to binary and got the result as

11111111111111111000100110100011 http://easycalculation.com/hex-converter.php

The binary to ascii conversion led to : ÿÿ‰£


So it didn't look meaningful to me. ( Or is it not supposed to be "meaningful" ? )

Posted on 2010-09-15 18:40:03 by lostpacket


Posted on 2010-09-15 18:55:02 by JimmyClif
JimmyClif said

What you might be interested in would be the Binary to Decimal Conversion?  Which will turn out to be -30301. Check with the Windows Calculator.

Ok. Is that still meaningful ?
Posted on 2010-09-15 19:13:04 by lostpacket
I am sure that it means something in the program, why would it be inside otherwise. Would it be more meaningful if the number were to be 1337 or 42 ?

This is getting ridiculous - you are on an assembly board trying to debug a program without any knowledge of opcodes, the debugger itself or even Hex numbers. Who with common sense asks if a number is meaningful?
Posted on 2010-09-15 19:26:45 by JimmyClif
@JimmyCliff : My biggest concern is if FFFF89A3 pointing towards a string or it itself is a string. Sure I don't know much about opcodes and hex , but I'll start learning.

Offcourse that instruction is important that's why I posted it here.
Posted on 2010-09-15 19:53:59 by lostpacket
You'll also want to start learning ASCII, as it would eliminate one of your two guesses.
Posted on 2010-09-15 21:49:22 by SpooK
Its an immediate hex value.
Bear in mind that -1 is FFFFFFFF in hex (32 bits).
And -2 is FFFFFFFE, so we can surmise that FFFF89A3 is some kind of negative number, without thinking too hard.
We can't tell what the PURPOSE of this value is without some context, but we can be pretty sure it's not an address of some variable of this program (since it would be in the Kernel memory of a 32 bit windows os).
Posted on 2010-09-16 00:34:47 by Homer