Skip to navigation

Elite on the BBC Micro

Maths (Arithmetic): MU1 (Disc version)

Name: MU1 [View in context] Type: Subroutine Category: Maths (Arithmetic) Summary: Copy X into P and A, and clear the C flag
Used to return a 0 result quickly from MULTU below.
.MU1 CLC \ Clear the C flag STX P \ Copy X into P and A TXA RTS \ Return from the subroutine