Skip to navigation

Maths (Arithmetic): MU1

[BBC Micro cassette version]

Name: MU1 [Show more] Type: Subroutine Category: Maths (Arithmetic) Summary: Copy X into P and A, and clear the C flag
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * MULTU calls MU1 * Unused duplicate of MULTU calls MU1

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