sannybuilder/dev

Feature: constants in HEX block

MiranDMC opened this issue · 3 comments

Please add support of constants in HEX blocks, like:

const foo = 12

hex
    00 11 foo 33 foo
end

Use like that would always insert 4 bytes if value was integer or float. In case of text constants included should be all its characters (without terminator string)

x87 commented

constants are ambiguous. consider this example:

const a = 5 
hex
a
end

5 or 10 (0xA)?

x87 commented

See #261

Duplicate of #261