Lagere Macros in eigene Datei aus

This commit is contained in:
2025-05-31 23:06:44 +02:00
parent a4b3a1f2ad
commit 74be66bfea
2 changed files with 14 additions and 14 deletions

12
macros.inc Normal file
View File

@@ -0,0 +1,12 @@
;========
; Macros
;========
.macro left_to_right
in @0, PORTD
rol @0
brcc PC+2
ldi @0, 0b00000001
out PORTD, @0
.endmacro