From 5d95607192380be5cc62592efac52814a0e090df Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Tue, 23 Mar 2021 12:22:38 -0700 Subject: Initial commit. --- rom.hex | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 rom.hex (limited to 'rom.hex') diff --git a/rom.hex b/rom.hex new file mode 100644 index 0000000..ee75917 --- /dev/null +++ b/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