view examples/input.asm @ 180:c3145f913f3d default tip

possible features
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 04 May 2019 11:17:42 +0900
parents 2088fd998865
children
line wrap: on
line source

	;6809 Benchmark program.

	org $100

	lds #$100	

	ldb #'a'
	jsr outc	
	
	
	ldx #40
inloop	jsr inc
	jsr outc
	leax -1,x
	bne inloop
	
        ldb #'b'
	jsr outc
	jmp realexit 

error	ldb #'e'
	jsr outc
	jmp realexit

outc	swi2
	rts

inc	swi3
	rts

realexit sync

enddata
  
	end