about summary refs log tree commit diff stats
path: root/subx/ex9
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-08-30 01:15:45 -0700
committerKartik Agaram <vc@akkartik.com>2018-08-30 01:15:45 -0700
commitf1b3d7b96749165d771b279b56cc05447b7db3e0 (patch)
tree0b9ce4b47746827ac9703bdf10d4976c98ae058d /subx/ex9
parent51e3e6cec3aea2589513e946f187d9c4bc8eadb3 (diff)
downloadmu-f1b3d7b96749165d771b279b56cc05447b7db3e0.tar.gz
4527 - reading commandline arguments
The new example ex9 doesn't yet work natively.

In the process I've emulated the kernel's role in providing args, implemented
a couple of instructions acting on 8-bit operands (useful for ASCII string
operations), and begun the start of the standard library (ascii_length
is the same as strlen).

At the level of SubX we're just only going to support ASCII.
Diffstat (limited to 'subx/ex9')
-rwxr-xr-xsubx/ex9bin0 -> 147 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/subx/ex9 b/subx/ex9
new file mode 100755
index 00000000..c7f1e9e6
--- /dev/null
+++ b/subx/ex9
Binary files differ