Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--hello_world/kernal.oph.s2
diff --git a/hello_world/kernal.oph.s b/hello_world/kernal.oph.s
index 086d3c1..79464a9 100644
--- a/hello_world/kernal.oph.s
+++ b/hello_world/kernal.oph.s
@@ -7,6 +7,6 @@
beq _done
jsr putchar ; putchar(_1[x])
inx ; ++x
- jmp _loop ; }
+ bne _loop ; if (x == 0) break } This allows max 255 character to be read
_done:
.macend