chiark / gitweb /
new D macro for using debugbyte
[trains.git] / detpic / common.inc
index ed166bf8ec0a332acfafbc9c9c54b9198e67d66a..f54e81806781f949fa4a0d94ca42fffbcc0051a8 100644 (file)
@@ -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