AS11, an absolute assembler for Motorola MCU's, version 1.2e

                        *
                        * Ex1.asm  ---- Example program 1 for FOX11 board
                        *		with BUFFALO 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.
                        	
                        *
                        * To run the program, enter G D000.
                        *
                        *
00c4                            ORG  $c4
                        *** Vector jump table for BUFFALO monitor ***
00c4                    JSCI    RMB   3
00c7                    JSPI    RMB   3
00ca                    JPAIE   RMB   3
00cd                    JPAO    RMB   3
00d0                    JTOF    RMB   3
00d3                    JTOC5   RMB   3
00d6                    JTOC4   RMB   3
00d9                    JTOC3   RMB   3
00dc                    JTOC2   RMB   3
00df                    JTOC1   RMB   3
00e2                    JTIC3   RMB   3
00e5                    JTIC2   RMB   3
00e8                    JTIC1   RMB   3
00eb                    JRTI    RMB   3
00ee                    JIRQ    RMB   3
00f1                    JXIRQ   RMB   3
00f4                    JSWI    RMB   3
00f7                    JILLOP  RMB   3
00fa                    JCOP    RMB   3
00fd                    JCLM    RMB   3
                        	
                        
1404                    portb:	equ	$1404
1403                    portc:	equ	$1403
1000                    REGBLK:	equ	$1000
                        
8fff                    STACK:	equ	$8FFF
                        *
                        
                        	
d000                    	org	$D000		; user program starts at $D000
                        	
d000                    start:
d000 8e 8f ff           	lds	#STACK
                        	
d003 b6 14 03           back:	ldaa	portc
d006 b7 14 04           	staa 	portb
d009 7e d0 03           	jmp	back
                        
                        *
                        	end
                        
                        

Executed: Sat Dec 31 02:24:09 2005
Total cycles: 14, Total bytes: 12
Total errors: 0, Total warnings: 0
