Style fixes.
h3rald h3rald@h3rald.com
Wed, 04 Feb 2026 18:20:20 +0100
1 files changed,
9 insertions(+),
9 deletions(-)
jump to
M
examples/on-error.xyw
→
examples/on-error.xyw
@@ -9,14 +9,14 @@ end JMPw
; on error handler .label on_error - system.error LDB $1 EQU on_error.div-by-zero.print JCNw - unknown-error print JSRw - $0 system.error STB + system.error LDB $1 EQU on_error.div-by-zero.print JCNw + unknown-error print JSRw + $0 system.error STB + RTS + .label on_error.div-by-zero.print + div-by-zero-error print JSRw + $3 system.error STB RTS - .label on_error.div-by-zero.print - div-by-zero-error print JSRw - $3 system.error STB - RTS ; printing subroutine ; a16 --@@ -25,8 +25,8 @@ POPxw
.label print.loop LDBxw terminal.output STB INCxw LDBxw print.loop JCNw - CLRxw - RTS + CLRxw + RTS .label div-by-zero-error .string "Error: Division by zero.\n"