Initial
This commit is contained in:
34
as68hc11/code/TEST2.ASM
Normal file
34
as68hc11/code/TEST2.ASM
Normal file
@@ -0,0 +1,34 @@
|
||||
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:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user