macros.inc
author Tero Marttila <terom@fixme.fi>
Thu, 17 Jun 2010 21:54:24 +0300
changeset 34 4646abd073fb
parent 18 79b25e81721f
child 45 7c684d241675
permissions -rw-r--r--
Matrix_Shift, Main_ScanText animation and Main_ScanCode
; XXX: stupid thing won't parse, and it's right from the README example...
; .ifndef _MACROS_INC_
; .define _MACROS_INC_

.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

; .endif