mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-03 08:41:02 +08:00
40 lines
256 B
NASM
40 lines
256 B
NASM
org 7c00h
|
|
init_foo:
|
|
jmp init_bar
|
|
nop
|
|
nop
|
|
nop
|
|
nop
|
|
nop
|
|
nop
|
|
nop
|
|
nop
|
|
nop
|
|
nop
|
|
nop
|
|
nop
|
|
nop
|
|
|
|
init_bar:
|
|
mov [b1],dl
|
|
mov [b2],edx
|
|
nop
|
|
nop
|
|
nop
|
|
nop
|
|
nop
|
|
nop
|
|
nop
|
|
nop
|
|
nop
|
|
nop
|
|
nop
|
|
nop
|
|
nop
|
|
ret
|
|
|
|
absolute init_bar+7
|
|
b1: resb 1
|
|
b2: resd 6
|
|
|