I have some problem with IntMul in Hla.
When i write
static
rand_seed: dword;
endstatic;
intmul($08088405, rand_seed, edx);

i have such error:
"Constant expression is out of range for specified operand."

And this code works correctly.
#asm
? ?imul edx,#:rand_seed,08088405h
#endasm
Posted on 2005-03-16 10:15:15 by Elohim Meth

I have some problem with IntMul in Hla.
When i write
static
rand_seed: dword;
endstatic;
intmul($08088405, rand_seed, edx);

i have such error:
"Constant expression is out of range for specified operand."

And this code works correctly.
#asm
? ?imul edx,#:rand_seed,08088405h
#endasm



This is definitely a bug in HLA v1.74. I'll put in a correction in HLA v1.75.
Cheers,
Randy Hyde
Posted on 2005-03-22 18:38:02 by rhyde