the classic approach to solve the problem with unknown symbols because they're defined at a later time, would be to make use of forward declarations, however this is currently not possible because of the check that yields a "Redefinition error", it could work something along the lines of:
jmp start
; data
label: db 00 ; define symbol named label of word byte
; dead code:
jmp label ; -- recognized as referring to an address of type byte
Logged In: NO
the classic approach to solve the problem with unknown symbols because they're defined at a later time, would be to make use of forward declarations, however this is currently not possible because of the check that yields a "Redefinition error", it could work something along the lines of:
jmp start
; data
label: db 00 ; define symbol named label of word byte
; dead code:
jmp label ; -- recognized as referring to an address of type byte
; functions:
label: nop
nop
ret
; -- entry point
start: nop
end: nop
hlt