summaryrefslogtreecommitdiff
path: root/02/in02
diff options
context:
space:
mode:
Diffstat (limited to '02/in02')
-rw-r--r--02/in0211
1 files changed, 6 insertions, 5 deletions
diff --git a/02/in02 b/02/in02
index 8355546..987d32e 100644
--- a/02/in02
+++ b/02/in02
@@ -1,6 +1,6 @@
jm
:-co jump to code
-::hw
+::hw start of hello world
'H
'e
'l
@@ -16,11 +16,12 @@ jm
'!
\n
::he end of hello world
+
+
+
::co start of code
-//
-// now we'll calculate the length of the hello world string
+// calculate the length of the hello world string
// by subtracting hw from he.
-//
im
--he
BA
@@ -29,7 +30,7 @@ im
nA
+B
DA put length in rdx
-// okay now we can write it
+// okay now write it
im
##1.
JA set rdi to 1 (stdout)