Skip to navigation

BBC Micro Elite

Maths (Arithmetic): MU6 (Disc version)

Name: MU6 [View in context] Type: Subroutine Category: Maths (Arithmetic) Summary: Set P(1 0) = (A A)
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
.MU6 STA P+1 \ Set P(1 0) = (A A) STA P RTS \ Return from the subroutine