Skip to navigation

BBC Micro Elite

Text: crlf

Name: crlf [View in context] Type: Subroutine Category: Text Summary: Tab to column 21 and print a colon
Print control code 9 (tab to column 21 and print a colon). The subroutine name is pretty misleading, as it doesn't have anything to do with carriage returns or line feeds.
.crlf { LDA #21 \ Set the X-column in XC to 21 STA XC BNE TT73 \ Jump to TT73, which prints a colon (this BNE is \ effectively a JMP as A will never be zero) }