Skip to navigation

Elite on the BBC Micro and NES

Text: PrintSpacedHyphen

[NES version, Bank 0]

Name: PrintSpacedHyphen [Show more] Type: Subroutine Category: Text Summary: Print two spaces, then a "-", and then another two spaces
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * PrintNumberInHold calls PrintSpacedHyphen * TT151 calls PrintSpacedHyphen
.PrintSpacedHyphen JSR TT162 ; Print two spaces JSR TT162 LDA #'-' ; Print a "-" character JSR TT27_b2 JSR TT162 ; Print two spaces, returning from the subroutine using JMP TT162 ; a tail call