chiark
/
gitweb
/
~ijackson
/
trains.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6993031
)
attempt to add locations for interruipts via assembler org instruction
author
ceb
<ceb>
Mon, 1 Nov 2004 20:27:23 +0000
(20:27 +0000)
committer
ceb
<ceb>
Mon, 1 Nov 2004 20:27:23 +0000
(20:27 +0000)
(see gopasm manual)
cebpic/Makefile
patch
|
blob
|
history
cebpic/reply-serial.asm
patch
|
blob
|
history
diff --git
a/cebpic/Makefile
b/cebpic/Makefile
index 6392bedd99d933c6bb5ada309e4b8924e2906bcb..b6d95fd7e86411a3d95ba8c1fa64274ccab78bbf 100644
(file)
--- a/
cebpic/Makefile
+++ b/
cebpic/Makefile
@@
-1,4
+1,4
@@
-TARGETS= led-flash.hex send-serial.hex
+TARGETS= led-flash.hex send-serial.hex
reply-serial.hex
include ../pic.make
diff --git
a/cebpic/reply-serial.asm
b/cebpic/reply-serial.asm
index ed567eb9bf549e0924954455d3e276fa631985ff..199acdb32ee50c98003dfa195de5e09e568ef7b2 100644
(file)
--- a/
cebpic/reply-serial.asm
+++ b/
cebpic/reply-serial.asm
@@
-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