Skip to navigation

Elite on the BBC Micro and NES

Maths (Arithmetic): Unused duplicate of MULTU, Removed

[Elite-A, Docked]

Name: Unused duplicate of MULTU, Removed [Show more] Type: Subroutine Category: Maths (Arithmetic) Summary: An unused duplicate of the MULTU routine
Context: See this subroutine in context in the source code References: No direct references to this subroutine in this source file

This is a duplicate of the MULTU routine, but with no entry label, so it can't be called by name. It is unused, and could have been culled to save a few bytes (24 to be precise), but it's still here, unnamed, unloved and unvisited, through no fault of its own.
\ --- Mod: Code removed for Elite-A: ------------------> \{ \ LDX Q \ BEQ MU1 \ DEX \ STX T \ LDA #0 \ LDX #8 \ LSR P \ \.MUL6 \ \ BCC P%+4 \ ADC T \ ROR A \ ROR P \ DEX \ BNE MUL6 \ RTS \} \ --- End of removed code ----------------------------->