chiark
/
gitweb
/
~ijackson
/
trains.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new D macro for using debugbyte
[trains.git]
/
detpic
/
common.inc
diff --git
a/detpic/common.inc
b/detpic/common.inc
index ed166bf8ec0a332acfafbc9c9c54b9198e67d66a..f54e81806781f949fa4a0d94ca42fffbcc0051a8 100644
(file)
--- a/
detpic/common.inc
+++ b/
detpic/common.inc
@@
-122,6
+122,11
@@
tickdiv_us equ tick_us * tickdiv
@ macro
endm
+D macro v
+ mov_lw v
+ call debugbyte
+ endm
+
;----------------------------------------
; For entering and leaving Low ISR, saving and restoring STATUS and W
; See above under <something>_intrl, and {master,slave}_interrupt_low