So, if someone is kind enough to tell me what is wrong with this I will be very glad.
So, I have an .ENUM inside a .SECTION like this:
Code: Select all
.SECTION "section name" SEMIFREE
.ENUM $00
_local_label dw
.ENDE
.ENDS
As far as I know the underscore makes the label local to the section were the .ENUM is,
So there shouldn't be any collisions with labels in other sections, yet WLA-DX says DIRECTIVE_ERROR: "_local_label" was defined for the second time.
Strangely enough, when using .ENUM, WLA-DX throws the DIRECTIVE_ERROR and doesn't generate any obj file, but if I use .DEFINE instead, it throws the same error but it does generate an object file ¿?
I also tried using @local_label and I got the same result.
There is anything I'm missing out?