sannybuilder/dev

compiler is restrictive when a label with offset 0 used in GET_LABEL_POINTER

Opened this issue · 0 comments

x87 commented
{$CLEO .cs}

:label
0@ = Memory.GetLabelPointer(@label)    

throws error 0084 A jump to offset 0 found.

workaround: add NOP before label

{$CLEO .cs}
0000:

:label
0@ = Memory.GetLabelPointer(@label)