* lsa.asm	EEL 4744 
* 
* LSA Test Program
*
* Assumes that the program runs from external 
* SRAM starting at $4000.
* An Input Port is at $2000
* An Output Output is at $2000
*************************************

INP	EQU $2000
OUTP	EQU $2000

	org $4567
WR1     ds.b 1
WR2	ds.b 1

	org $5432
READ	dc.b $AA

	org $4000

again2	ldaa READ
	staa OUTP
	staa WR1

	ldaa INP
	staa WR2
	staa OUTP

	bra again2

	
