Poasm Version 14.10.0 reports an error message while assembling the code below :
.386
.model flat,stdcall
option casemap:none
.code
call main
ret
main PROC
mov eax,OFFSET sample
ret
main ENDP
sample:
db 'This is a test.',0
END
\PellesC\bin\poasm.exe /AIA32 sample.asm
sample.asm(12): error: Symbol 'sample' is undefined.
sample.asm(12): error: Symbol 'main.sample' is undefined.
This issue happens when a label is defined after a procedure.
IMO, this is a bit like asking for trouble.
I may do something about it some day, but I will be in no hurry to do so...
Hi Pelle,
Many thanks.