console.s
changeset 18 79b25e81721f
parent 14 1ebd5fc73d86
--- a/console.s	Sat May 08 16:00:18 2010 +0300
+++ b/console.s	Sat May 08 17:27:27 2010 +0300
@@ -2,22 +2,7 @@
 .include "m168def.inc"      ; Same family as 328P
 .list
 
-.macro poke
-		.message	"No parameters"
-.endm
-
-.macro poke_i_8_i
-		ldi			@1, @2
-		sts			@0, @1
-.endm
-
-.macro poke_i_16_i
-		ldi			@1, low(@3)
-		sts			@0+0, @1
-		
-		ldi			@2, high(@3)
-		sts			@0+1, @2
-.endm
+.include "macros.inc"
 
 ;; Load a 16-bit *word* address into the given register a a byte address
 .macro loadp_16_i