*
* Ex1.asm  ---- Example program 1 for FOX11 C board
*               with Wytec Phantom Monitor, (c)2003, EVBplus.com
*		Written By Wayne Chu
*
*     Function:	Reads the DIP switch via port C and displays its status
*		on the PB0-PB7 LEDs.
*	
*
portb:  	equ     $1404 		; 74HC273 latch
portc:		equ	$1403      	; 74HC245 buffer (used as a 74HC244)

STACK:		equ	$FF
*
        	org     $F000
start:
		lds	#STACK
			
back:		ldaa	portc
		staa 	portb
		jmp	back
*
		org	$FFFE
		fdb	start
		end



