Skip to navigation

Elite on the BBC Micro and NES

Maths (Arithmetic): MU6, Removed

[Elite-A, Docked]

Name: MU6, Removed [Show more] Type: Subroutine Category: Maths (Arithmetic) Summary: Set P(1 0) = (A A)
Context: See this subroutine in context in the source code References: No direct references to this subroutine in this source file

In practice this is only called via a BEQ following an AND instruction, in which case A = 0, so this routine effectively does this: P(1 0) = 0
\ --- Mod: Code removed for Elite-A: ------------------> \.MU6 \ \ STA P+1 \ Set P(1 0) = (A A) \ STA P \ \ RTS \ Return from the subroutine \ --- End of removed code ----------------------------->