Skip to navigation

Elite on the BBC Micro and NES

Market: dn

[NES version, Bank 0]

Name: dn [Show more] Type: Subroutine Category: Market Summary: Print the amount of money we have left in the cash pot
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * eq calls dn * EQSHP calls dn
.dn LDA #17 ; Move the text cursor to column 2 on row 17 STA YC LDA #2 STA XC JMP PCASH ; Jump to PCASH to print recursive token 119 ; ("CASH:{cash} CR{crlf}"), followed by a space, and ; return from the subroutine using a tail call