chiark / gitweb /
attempt to add locations for interruipts via assembler org instruction
authorceb <ceb>
Mon, 1 Nov 2004 20:27:23 +0000 (20:27 +0000)
committerceb <ceb>
Mon, 1 Nov 2004 20:27:23 +0000 (20:27 +0000)
(see gopasm manual)

cebpic/Makefile
cebpic/reply-serial.asm

index 6392bedd99d933c6bb5ada309e4b8924e2906bcb..b6d95fd7e86411a3d95ba8c1fa64274ccab78bbf 100644 (file)
@@ -1,4 +1,4 @@
-TARGETS=       led-flash.hex send-serial.hex
+TARGETS=       led-flash.hex send-serial.hex reply-serial.hex
 
 include ../pic.make
 
index ed567eb9bf549e0924954455d3e276fa631985ff..199acdb32ee50c98003dfa195de5e09e568ef7b2 100644 (file)
@@ -2,16 +2,17 @@
 
         include         /usr/share/gputils/header/p18f458.inc
 
-       code
-
+       org     0
        goto    initialise_serial
 
-
 ; interrupt routine call - this needs to be at 000018h (low priority interrupt)
 
+       org     000018h
        goto    interrupt_check
 
 
+       code
+
 initialise_serial
 
 ; initial config - TXSTA register p181