Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .equ adres_pocz=0x2f0
- .equ adres_konc=0x300
- .equ liczba_pocz=0xAA
- pocz:
- ldi r16, liczba_pocz
- ldi XL, low(adres_pocz)
- ldi XH, high(adres_pocz)
- petla:
- cpi XL, low(adres_konc + 1)
- brbc 1, wpisz
- cpi XH, high(adres_konc + 1)
- brbc 1, wpisz
- jmp koniec
- wpisz:
- st X+, r16
- jmp petla
- koniec:
- jmp koniec
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement