aboutsummaryrefslogtreecommitdiff
path: root/assembler/main.s
blob: 9a7fd89486210161a4f7603e0f0cc320ee0beb4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.syntax unified
.cpu cortex-m0plus
.thumb

.type main, %function
.global main

main:
  bl start_xosc
  bl setup_clocks
  bl setup_gpio
  bl setup_uart
1:
  bl assemble
  movs r0, r6
  bl send_hex
  b 1b