author | Tero Marttila <terom@paivola.fi> |
Sat, 05 Apr 2014 01:50:26 +0300 | |
changeset 59 | 7090f61e5e17 |
parent 45 | 7c684d241675 |
permissions | -rw-r--r-- |
; XXX: stupid thing won't parse, and it's right from the README example... ; .ifndef _MACROS_INC_ ; .define _MACROS_INC_ ;; Store to memory address .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