diff options
author | Jacques Comeaux <jacquesrcomeaux@protonmail.com> | 2024-01-19 16:41:29 -0600 |
---|---|---|
committer | Jacques Comeaux <jacquesrcomeaux@protonmail.com> | 2024-01-19 16:41:29 -0600 |
commit | 261c210c9c4c1e55103a7af31dfcc539c0e0e5cc (patch) | |
tree | 71840ab97b84dd3f995ea8900b08c98149feac36 /hexedit/main.s | |
parent | 473e52cbe7cbee0333b7d97d91c4bbf95c1b3225 (diff) |
Add subroutine for printing hexadecimal word
Diffstat (limited to 'hexedit/main.s')
-rw-r--r-- | hexedit/main.s | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/hexedit/main.s b/hexedit/main.s new file mode 100644 index 0000000..5e294d4 --- /dev/null +++ b/hexedit/main.s @@ -0,0 +1,16 @@ +.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 uart_recv + bl uart_send + b 1b |