-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsin.asm
18 lines (18 loc) · 1.73 KB
/
sin.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
; In 5:11 fixed point format (asic trace table delta format)
Sin:
dc.w 0, 50, 100, 150, 200, 250, 300, 350, 399, 448, 497, 546, 594, 642, 689, 737
dc.w 783, 829, 875, 920, 965, 1009, 1052, 1095, 1137, 1179, 1219, 1259, 1299, 1337, 1375, 1412
dc.w 1448, 1483, 1517, 1550, 1583, 1614, 1644, 1674, 1702, 1730, 1756, 1781, 1806, 1829, 1851, 1872
dc.w 1892, 1910, 1928, 1944, 1959, 1973, 1986, 1998, 2008, 2017, 2025, 2032, 2038, 2042, 2045, 2047
dc.w 2048, 2047, 2045, 2042, 2038, 2032, 2025, 2017, 2008, 1998, 1986, 1973, 1959, 1944, 1928, 1910
dc.w 1892, 1872, 1851, 1829, 1806, 1781, 1756, 1730, 1702, 1674, 1644, 1614, 1583, 1550, 1517, 1483
dc.w 1448, 1412, 1375, 1337, 1299, 1259, 1219, 1179, 1137, 1095, 1052, 1009, 965, 920, 875, 829
dc.w 783, 737, 689, 642, 594, 546, 497, 448, 399, 350, 300, 250, 200, 150, 100, 50
dc.w 0, -50, -100, -150, -200, -250, -300, -350, -399, -448, -497, -546, -594, -642, -689, -737
dc.w -783, -829, -875, -920, -965, -1009, -1052, -1095, -1137, -1179, -1219, -1259, -1299, -1337, -1375, -1412
dc.w -1448, -1483, -1517, -1550, -1583, -1614, -1644, -1674, -1702, -1730, -1756, -1781, -1806, -1829, -1851, -1872
dc.w -1892, -1910, -1928, -1944, -1959, -1973, -1986, -1998, -2008, -2017, -2025, -2032, -2038, -2042, -2045, -2047
dc.w -2048, -2047, -2045, -2042, -2038, -2032, -2025, -2017, -2008, -1998, -1986, -1973, -1959, -1944, -1928, -1910
dc.w -1892, -1872, -1851, -1829, -1806, -1781, -1756, -1730, -1702, -1674, -1644, -1614, -1583, -1550, -1517, -1483
dc.w -1448, -1412, -1375, -1337, -1299, -1259, -1219, -1179, -1137, -1095, -1052, -1009, -965, -920, -875, -829
dc.w -783, -737, -689, -642, -594, -546, -497, -448, -399, -350, -300, -250, -200, -150, -100, -50