Skip to navigation

Elite on the BBC Micro and NES

Flight: ou2

[NES version, Bank 0]

Name: ou2 [Show more] Type: Subroutine Category: Flight Summary: Display "E.C.M.SYSTEM DESTROYED" as an in-flight message
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * OUCH calls ou2
.ou2 LDA #108 ; Set A to recursive token 108 ("E.C.M.SYSTEM") BNE ouch1 ; Jump up to ouch1 to print recursive token A as an ; in-flight message, followed by " DESTROYED", and ; return from the subroutine using a tail call (this ; BNE is effectively a JMP as A is never zero)