Lagere Macros in eigene Datei aus
This commit is contained in:
12
macros.inc
Normal file
12
macros.inc
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user