From ac8d628827aa1cdf746fce8b4cdce140558e0f89 Mon Sep 17 00:00:00 2001 From: Jacques Comeaux Date: Tue, 16 Aug 2022 17:44:52 -0500 Subject: Humble beginnings --- print.s | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 print.s (limited to 'print.s') diff --git a/print.s b/print.s new file mode 100644 index 0000000..f84ca70 --- /dev/null +++ b/print.s @@ -0,0 +1,11 @@ + MOV R1, -(SP) + BR 20$ +10$: + TSTB @#177564 + BEQ 10$ + MOVB R1, @#177566 +20$: + MOVB (R0)+, R1 + BNE 10$ + MOV (SP)+, R1 + RTS PC -- cgit v1.2.3