Re: 63/64 bit version of Delphi's function random( aRange : integer ) : integer; ?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


sci.crypt archive

Re: 63/64 bit version of Delphi's function random( aRange : integer ) : integer; ?

From: Skybuck Flying <spam@hotmail.com>
Date: Fri Apr 28 2006 - 05:31:01 CEST

> Oh well
>
> I am just guessing.
>
> Time to get my assembler bookie ;)

Oops...

My assembler bookie is too old...

It's full with descriptions which apply to 8086, 80286, 80386.

It doesn't have descriptions for the EAX registers etc.

The closest thing in the bookie was this one:

IMUL BX

Short description:

DX:AX = AX * BX;

Well that looks like a good old segment:offset etc stuff which is for good
old Bill Gates shit ;) =D

Nononono nowadays we work with flat mode...

Ofcourse I could take a guess what IMUL EDX means.

Oops...

Wrong code...

Sloppy me lol...

WOW programming in assembler is tricky !

Just one letter difference... I should have checked under:

MUL not IMUL ;)

Second try:

Short description for MUL:

HMMMM I was jumping to conclusion too fast...

Strangely enough the bookie didn't include an IMUL example for an extended
register... I guess the bookie can go into the waste basket after all lol :)

Anyway the MUL instruction does include an extended register example... just
not the one I am looking for but it's the closest one:

MUL ECX

means:

EDX:EAX = EAX * ECX;

I have no idea what EDX:EAX means.

Sigh.

I am lost...

Now me go consult intel documents to see if that documentation is of any
help for me.

Bye,
  Skybuck.
Received on Mon May 1 02:05:22 2006