	.title	6801 Assembler Error Check

	dir	=	0x0100
	offset	=	0x0101

	sta a	#32		;error
	stab	#33		;error
	std	#1122		;error

	lda a	offset,x	;error
	ldaa	*dir		;error

	std	#1122		;error
	sts	#2211		;error
	stx	#1122		;error

	sub	#20		;error

	jmp	*dir		;error
	jmp	#2211		;error
	jsr	#1122		;error

	lda a	*255		;OK
	lda a	*256		;error
	lda a	*-1		;error
	lda a	*-256		;error


	aim	#0x10, 4,x	;error
	eim	#0x10, 4,x	;error
	oim	#0x10, 4,x	;error
	tim	#0x10, 4,x	;error

	xgdx			;error

	slp			;error

	.hd6303

	aim	#0x10, 4,x	;ok
	eim	#0x10, 4,x	;ok
	oim	#0x10, 4,x	;ok
	tim	#0x10, 4,x	;ok

	xgdx			;ok

	slp			;ok

	.area	A

A:	bra	B		;ok

	.area	B

B:	bra	A		;ok


