From 5c1df6d27f5dac143efc9ce84689b863dbee45bd Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Wed, 24 Mar 2021 08:35:07 -0700 Subject: Reorganize repo layout to make it a little easier to work within. --- mem/rom.hex | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 mem/rom.hex (limited to 'mem/rom.hex') diff --git a/mem/rom.hex b/mem/rom.hex new file mode 100644 index 0000000..ee75917 --- /dev/null +++ b/mem/rom.hex @@ -0,0 +1,18 @@ +@0 + +// "Hello, world!\n" +48 65 6c 6c 6f 2c 20 77 6f 72 6c 64 21 0a + +// "I will now echo your input: " +49 20 77 69 6c 6c 20 6e 6f 77 20 65 63 68 6f 20 +79 6f 75 72 20 69 6e 70 75 74 3a 20 + +// At this point, will switch to ECHO mode until it reads a newline. +00 + +// "The Fibonacci sequence: " +54 68 65 20 46 69 62 6f 6e 61 63 63 69 20 73 65 +71 75 65 6e 63 65 3a 20 + +// At this point, will switch to FIB mode until end of time. +00 -- cgit v1.2.3