logical error 'imul'
this code must print this result
1 255
program WIN32CUI 'test';
#include 'console.zir';
#include 'zirutils.zir';
dword indx;
char tmp[255];
indx = 1;
eax = indx
imul eax,255
IntToStr(indx,@tmp);
print(@tmp,'\r\n');
IntToStr(eax,@tmp);
print(@tmp,'\r\n');
wait_key(nil);
ExitProcess(0);
but it prints that
1 12593
http://www.freewebs.com/ogremagic/index.htm