-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathffp_math.inc
38 lines (35 loc) · 1.48 KB
/
ffp_math.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
*-----------------------------------------------------------
* Title : ffp_math.inc
* Written by : Fred Bayer
* Date : 2022-12-16
* Description: Official entrypoints into Motorola Fast Floating Point Math library
*-----------------------------------------------------------
****************************************************************************************************
* Math FFP entrypoints
****************************************************************************************************
ffp_base equ $5f000
ffp_abs equ (ffp_base+000)
ffp_add equ (ffp_base+004)
ffp_asc_round equ (ffp_base+008)
ffp_asc_to_flp equ (ffp_base+012)
ffp_atan equ (ffp_base+016)
ffp_compare equ (ffp_base+020)
ffp_cos equ (ffp_base+024)
ffp_cosh equ (ffp_base+028)
ffp_div equ (ffp_base+032)
ffp_exp equ (ffp_base+036)
ffp_flp_to_asc equ (ffp_base+040)
ffp_flp_to_int equ (ffp_base+044)
ffp_int_to_flp equ (ffp_base+048)
ffp_log equ (ffp_base+052)
ffp_mul equ (ffp_base+056)
ffp_neg equ (ffp_base+060)
ffp_pow equ (ffp_base+064)
ffp_sin equ (ffp_base+068)
ffp_sin_cos equ (ffp_base+072)
ffp_sinh equ (ffp_base+076)
ffp_sqrt equ (ffp_base+080)
ffp_sub equ (ffp_base+084)
ffp_tan equ (ffp_base+088)
ffp_tanh equ (ffp_base+092)
ffp_test equ (ffp_base+096)