AS11, an absolute assembler for Motorola MCU's, version 1.2e

                        *
                        * 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.
                        *	
                        *
1404                    portb:  	equ     $1404 		; 74HC273 latch
1403                    portc:		equ	$1403      	; 74HC245 buffer (used as a 74HC244)
                        
00ff                    STACK:		equ	$FF
                        *
f000                            	org     $F000
f000                    start:
f000 8e 00 ff           		lds	#STACK
                        			
f003 b6 14 03           back:		ldaa	portc
f006 b7 14 04           		staa 	portb
f009 7e f0 03           		jmp	back
                        *
fffe                    		org	$FFFE
fffe f0 00              		fdb	start
                        		end
                        
                        
                        

Executed: Sat Dec 31 02:26:30 2005
Total cycles: 14, Total bytes: 14
Total errors: 0, Total warnings: 0
