35 lines
584 B
NASM
35 lines
584 B
NASM
org 1000h ; set base of code to 1000h
|
|
bcc start ; jump target
|
|
jmp start
|
|
jmp start
|
|
rts ; return from subroutine
|
|
rts ; return from subroutine
|
|
; start equ * ; macro reference
|
|
; start equ 70h
|
|
start:
|
|
nop ; no operation
|
|
nop ; no operation
|
|
nop ; no operation
|
|
nop ; no operation
|
|
bcc start
|
|
jmp start
|
|
rts ; return from subroutine
|
|
jmp foo
|
|
org 2000h
|
|
nop
|
|
nop
|
|
nop
|
|
nop
|
|
jmp start
|
|
foo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|