From c0862e34baa775af36399aecff3eebf158772b42 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Tue, 5 Jun 2018 17:36:18 -0700 Subject: [PATCH] Add an assembly program to demonstrate reading. --- tasm/read.tasm | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tasm/read.tasm diff --git a/tasm/read.tasm b/tasm/read.tasm new file mode 100644 index 0000000..108c930 --- /dev/null +++ b/tasm/read.tasm @@ -0,0 +1,5 @@ +top: read r1 +disp r1 +add r1 r0 r0 +disp r1 +jmp top