Difference of SizeOf function between two cases

Giganews Newsgroups
Subject:Difference of SizeOf function between two cases
Posted by: Akihiro Mizuta
Date:Thu, 30 Sep 2010

Hello.

I found the differences of two cases about SizeOf function, following like...

const
    A = 1.00;

SizeOf ( A );  // obtain value '8'
SizeOf ( 1.00 ); // obtain value '10'

I guessed these cases are same process before, but in fact, I obtained two difference values.
By using CPU trace window, only I found setting a immediate value, $8 and $a, to register.
Where do these differences come from?
I'm sorry for my poor English.

Greetings

Mizuta

Replies