But if this will always be only cmp then it no so big problem :)
But why programmer just not write 'cmp' instead of '==' ? :)
Just if it might be a typo('==' instead of '=') then we could show warning.
A community discussion post from the original code:zIRON forum.
But if this will always be only cmp then it no so big problem :)
But why programmer just not write 'cmp' instead of '==' ? :)
Just if it might be a typo('==' instead of '=') then we could show warning.
I think for this, I will need to add DEBUG and RELEASE mode, DEBUG will output such "potential" errors whereas RELEASE mode will only provide fatal errors. I will think about this a little further before going ahead.
program RAW_IMAGE 'test';
#set bits 32;
#set awd true;
dword Values[1] = [1, 2, 3, 4, 5, 6, 7, 8, 9, 0];
Fixed for next release.
In code below parameter 'a' redeclared:
program RAW_IMAGE 'test';
#set bits 32;
procedure test(dword a, a) {eax = a;}
test(0, 0);
Today I finally got a little time to make some updates, my first task is to clear up any remaining issues/bugs before I begin adding new features I have planned.
So... this being the first fix, it is corrected for next beta/or release.
This compiles but there is no parameters $b and $c
program RAW_IMAGE 'test';
#set bits 32;
inline procedure test($a){
$a = eax; $b = eax; $c = eax;
}
Dword a;
test(a);
This is not an error... you have just created 2 new local macro variables $b and $c