Unexpected number
program RAW_IMAGE 'test';
#set bits 32;
add byte[0x12345678], 0x12
add word[0x12345678], 0x1234
add dword[0x12345678], 0x12345678
The code above produce error
Unexpected number
A community discussion post from the original code:zIRON forum.
program RAW_IMAGE 'test';
#set bits 32;
add byte[0x12345678], 0x12
add word[0x12345678], 0x1234
add dword[0x12345678], 0x12345678
The code above produce error
Unexpected number
Added this for next release.
program PE32_CUI 'test';
#include 'platform_def.zir';
function X(byte* src; dword n) {}
const buf1 = '55';
X(buf1, sizeof buf1);
Unexpected number 55
This was a problem related to the other const post, issue with the optimiser, it is fixed for next release. :)