From 20ce9c64818143810f7f8a10a7d199d297df4807 Mon Sep 17 00:00:00 2001 From: Lars Brinkhoff Date: Mon, 19 Jul 2021 14:34:49 +0200 Subject: [PATCH] Minor update for the Midas hello world example. --- src/hello/hello.mid | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hello/hello.mid b/src/hello/hello.mid index 9ffd6403..79ab5fde 100644 --- a/src/hello/hello.mid +++ b/src/hello/hello.mid @@ -5,12 +5,12 @@ b==2 ;A and B. ch==1 ;Output channel number. start: .open ch,[.uao,,'tty] ;Open channel to TTY, for ASCII output. - .lose + .lose %lssys move a,[440700,,hello] ;Load A with byte pointer to string. loop: ildb b,a ;Load B from string. - jumpe b,[.logout 2,] ;End on zero byte. + jumpe b,[.logout 1,] ;End on zero byte. .iot ch,b ;Print byte. - jrst loop + jrst loop hello: asciz /hello world/