Skip to navigation

Elite on the BBC Micro

Maths (Arithmetic): MUT1 [Disc version, Docked]

Name: MUT1 [Show more] Type: Subroutine Category: Maths (Arithmetic) Summary: Calculate R = XX and (A P) = Q * A
Context: See this subroutine in context in the source code References: No direct references to this subroutine in this source file

Do the following assignment, and multiplication of two signed 8-bit numbers: R = XX (A P) = Q * A
.MUT1 LDX XX \ Set R = XX STX R \ Fall through into MULT1 to do the following: \ \ (A P) = Q * A