We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

DSP1/Inverse: Difference between revisions

From SnesLab
Jump to: navigation, search
(moved table up)
(added parameters)
Line 6: Line 6:
|}
|}


'''Inverse''' is a DSP1 command.
'''Inverse''' is a [[DSP1]] command that calculates a floating point multiplicative inverse (reciprocal).
 
=== Input Parameters ===
* a[M] is the coefficient
* b[C] is the exponent (in the range 8002 to 7FFFh)
 
The total input value is then a*2^b
 
=== Output Parameters ===
* A[M] is the coefficient
* B[C] is the exponent (in the range 8002 to 7FFFh)


=== References ===
=== References ===

Revision as of 04:34, 15 July 2023

Basic Info
Opcode 10

Inverse is a DSP1 command that calculates a floating point multiplicative inverse (reciprocal).

Input Parameters

  • a[M] is the coefficient
  • b[C] is the exponent (in the range 8002 to 7FFFh)

The total input value is then a*2^b

Output Parameters

  • A[M] is the coefficient
  • B[C] is the exponent (in the range 8002 to 7FFFh)

References