From ce3ddfefd39e556f2dc81806fe8560455cf948b4 Mon Sep 17 00:00:00 2001 From: Jacques Comeaux Date: Sat, 20 Jul 2024 01:08:03 -0500 Subject: Add string functions for stage 3 editor --- better_assembler/main.as | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 better_assembler/main.as (limited to 'better_assembler/main.as') diff --git a/better_assembler/main.as b/better_assembler/main.as new file mode 100644 index 0000000..28b5139 --- /dev/null +++ b/better_assembler/main.as @@ -0,0 +1,11 @@ +<0000 +LL R4 3 load string address +DRF R0 R4 +JIH 0000 print string +JIL 0174 +DRF R0 R4 +JIH 0000 read string +JIL 0371 +JA 3770 infinite loop +Q 0014 00 +Q 0200 00 -- cgit v1.2.3