From: ceb Date: Tue, 11 Oct 2005 22:52:51 +0000 (+0000) Subject: new directory for shiny new code X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=fb23533944be27f3d2a3655f574f710085e637cc;p=trains.git new directory for shiny new code --- diff --git a/detpic/common.inc b/detpic/common.inc new file mode 100644 index 0000000..b2890d9 --- /dev/null +++ b/detpic/common.inc @@ -0,0 +1,13 @@ +; common macros & equs etc. + +;********************************************************************** +; boilerplate.inc +; Include this at the top of each file. +; Does the following things: +; includes the PIC18F458 definitions file (register and bit names) +; switches to decimal by default +; defines various useful macros + + include /usr/share/gputils/header/p18f458.inc + radix dec + diff --git a/detpic/variables.asm b/detpic/variables.asm new file mode 100644 index 0000000..d7debc5 --- /dev/null +++ b/detpic/variables.asm @@ -0,0 +1,7 @@ +; reservations for variables + +; boilerplate: + + include /usr/share/gputils/header/p18f458.inc + radix dec +