mirror of
https://github.com/NishiOwO/JWasm.git
synced 2025-04-22 01:04:39 +00:00
22 lines
474 B
NASM
22 lines
474 B
NASM
|
|
;--- there was an undetected phase error
|
|
;--- ( and, consecutively, improper code generated ),
|
|
;--- if an equate was assigned a forward ref to a relocatable address.
|
|
|
|
.286
|
|
.model small
|
|
|
|
.code
|
|
|
|
start:
|
|
jmp forward ;assumed short in pass 1, later changed to near32 ( size 2 -> 5 )
|
|
dw lbl2-lbl1
|
|
lbl1 = $ ;an alias defined via '=' and forward referenced has problems to trigger a phase error!
|
|
db 80h dup (?)
|
|
lbl2:
|
|
forward:
|
|
nop
|
|
|
|
end start
|
|
|