From 261c210c9c4c1e55103a7af31dfcc539c0e0e5cc Mon Sep 17 00:00:00 2001 From: Jacques Comeaux Date: Fri, 19 Jan 2024 16:41:29 -0600 Subject: Add subroutine for printing hexadecimal word --- hexedit/main.s | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 hexedit/main.s (limited to 'hexedit/main.s') 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 -- cgit v1.2.3