Skip to navigation

Elite on the BBC Micro

Maths (Arithmetic): MUT2, Removed [Elite-A, Docked]

Name: MUT2, Removed [Show more] Type: Subroutine Category: Maths (Arithmetic) Summary: Calculate (S R) = XX(1 0) 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: (S R) = XX(1 0) (A P) = Q * A
\ --- Mod: Original Acornsoft code removed: -----------> \.MUT2 \ LDX XX+1 \ Set S = XX+1 \ STX S \ \ Fall through into MUT1 to do the following: \ \ \ \ R = XX \ \ (A P) = Q * A \ --- End of removed code ----------------------------->