;	GCC For the Hitachi H8/300
;	By Hitachi America Ltd and Cygnus Support
;	release F-1
; -O2

	.h8300h
	.file	"1.c"
	.section .text
	.align 1
	.global _main
_main:
    mov.l	#0x0,er0
    mov.l	#0x1,er1
    mov.l	#0x1234,er2
loop:
	push	er2
	bsr		_sub
	pop		er2
    add.l	er1,er0
    bra		loop
	rts
_sub:
	bsr		sub1
    mov.l	#0xffff,er2
	rts
sub1:
	rts
	.end
