\ --- Mod: Code removed for Elite-A: ------------------> \.MLS2 \ \LDX XX \ Set (S R) = XX(1 0), starting with the low bytes \STX R \ \LDX XX+1 \ And then doing the high bytes \STX S \ \LDX ALP1 \ This repeats the first two instructions of MLS1, which \STX P \ is presumably unintentional (though it has no effect) \ \ \ Fall through into SQUA to calculate (A P) = A * ALP1 \ --- End of removed code ----------------------------->Name: MLS2, Removed [Show more] Type: Subroutine Category: Maths (Arithmetic) Summary: Calculate (S R) = XX(1 0) and (A P) = A * ALP1Context: See this subroutine in context in the source code References: No direct references to this subroutine in this source file
Calculate the following: (S R) = XX(1 0) (A P) = A * ALP1 where ALP1 is the magnitude of the current roll angle alpha, in the range 0-31.