Created
December 8, 2014 18:01
-
-
Save petrihakkinen/d9431f8a0dac748bea86 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; copy 128 bytes, 6 cycles per byte (768 cycles) | |
.rept 128 | |
out _SFR_IO_ADDR(PORTA), ZL ; PORTA = lo | |
addi ZL, 1 | |
nop | |
in r24, _SFR_IO_ADDR(PINC) ; r24 = data | |
st X+, r24 | |
.endr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment