Skip to navigation

BBC Micro Elite

Maths (Arithmetic): MU1 (6502SP 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