Debian Codegraph @

examples/ASM/jump.S

raw
1
2 #include <avr/io.h>
3
4 .section .text ; denotes code section
5 .global main
6 main:
7 LDI R16, 255
8 STS DDRB, R16
9
10 ;JMP skip
11 LDI R16, 15
12 skip:
13 STS PORTB, R16
14 .end