SaturnRingLibrary 0.9.1
SGL wrapper
 
Loading...
Searching...
No Matches

◆ ExtractMac()

static Fxp SRL::Math::Types::Fxp::ExtractMac ( )
inlinestatic

Extracts the result from MAC registers into a fixed-point value.

This static function generates inline assembly to:

  1. Store MACH and MACL values into temporary registers
  2. Extract the final result using xtrct instruction
  3. Return the result as a fixed-point value
Returns
Fixed-point value containing the MAC operation result