Motorola DSP56000 Assembler Version 3.1.12 91-12-16 13:55:22 boot.asm Page 1 1 ;***************************************************************************** 2 ; This routine demonstrates how to construct a module which will boot 3 ; from an external byte-wide EPROM and execute in on-chip Program RAM. 4 ; 5 ; The main routine simply toggles the least significant bit of Port-C 6 ; and this activity can be monitored externally with an oscilloscope 7 ; to confirm that the boot occurred correctly. 8 ; 9 ; assemble this routine with the following command line: 10 ; asm56000 -a -b -l boot 11 ; 12 ; build the S-Record file for use by the PROM-Burner via the SREC utility: 13 ; SREC boot 14 ; 15 ; The vectors will be placed into the EPROM at address $C000 and the 16 ; main routine will start at $C0F0 in the EPROM. 17 ;***************************************************************************** 18 00FFE1 m_pcc equ $FFE1 ;Port-C control register address (in X:) 19 00FFE3 m_pcddr equ $FFE3 ;Port-C data direction register 20 00FFE5 m_pcd equ $FFE5 ;Port-C data register 21 000050 main equ $50 ;main routine starting address 22 000000 RUNTIME equ 0 ;bootstrap into P:0 23 00C000 LOADTIME equ $C000 ;load into EPROM at P:$C000 24 25 page 132,66,3,3 ;format the page for 132 columns, 66 lines 26 27 28 P:0000 P:C000 org P:RUNTIME,P:LOADTIME 29 P:0000 P:C000 0D0050 jsr $1FF 181 ENDIF Motorola DSP56000 Assembler Version 3.1.12 91-12-16 13:55:22 boot.asm Page 2 182 183 END 0 Errors 0 Warnings