📄 tables1.s
字号:
;************************************************************************
; (c)1996-1997 Copyright M-Pact, Inc. All rights reserved
;
; Revision 1.0
;
;
;
; Module: tables
;
; Initial version:Jinshi Huang 2/18/97
;
;************************************************************************
.rdata
.global FAcos_tbl
FAcos_tbl: .align 2 // bit31-24 for integer; bit23-0 for fractional
.word 0x004013c2 ;0.500602998235196270000000
.word 0x0040b346 ;0.505470959897543650000000
.word 0x0041fa2d ;0.515447309922624550000000
.word 0x0043f934 ;0.531042591089784130000000
.word 0x0046cc1c ;0.553103896034444540000000
.word 0x004a9d9d ;0.582934968206133890000000
.word 0x004fae37 ;0.622504123035664820000000
.word 0x0056601f ;0.674808341455005680000000
.word 0x005f4cf7 ;0.744536271002298580000000
.word 0x006b6fcf ;0.839349645415526810000000
.word 0x007c7d1e ;0.972568237861960780000000
.word 0x0115b035 ;1.169439933432884700000000
.word 0x013df91b ;1.484164616314166200000000
.word 0x0207655e ;2.057781009953410800000000
.word 0x03342c83 ;3.407608418468719000000000
.word 0x0a185230 ;10.190008123548033000000000
.word 0x00404f46 ;0.502419286188155680000000
.word 0x0042e13c ;0.522498614939688850000000
.word 0x0048919f ;0.566944034816357690000000
.word 0x0052cb0e ;0.646821783359990080000000
.word 0x0064e240 ;0.788154623451250200000000
.word 0x0107c449 ;1.060677685990347100000000
.word 0x015c7926 ;1.722447098238334200000000
.word 0x050cf270 ;5.101148618689155300000000
.word 0x004140fb ;0.509795579104159180000000
.word 0x004cf8df ;0.601344886935045290000000
.word 0x0073326c ;0.899976223136415570000000
.word 0x02480d9d ;2.562915447741505500000000
.word 0x004545ea ;0.541196100146197010000000
.word 0x01273d75 ;1.306562964876376400000000
.word 0x005a827a ;0.707106781186547460000000
.if 0
FAcos_tbl: .align 2 // scaled by 1/16
.word 0x0004013c ;cos1_64 0.500602998235196270000000
.word 0x00040b34 ;cos3_64 0.505470959897543650000000
.word 0x00041fa3 ;cos5_64 0.515447309922624550000000
.word 0x00043f93 ;cos7_64 0.531042591089784130000000
.word 0x00046cc2 ;cos9_64 0.553103896034444540000000
.word 0x0004a9da ;cos11_64 0.582934968206133890000000
.word 0x0004fae3 ;cos13_64 0.622504123035664820000000
.word 0x00056602 ;cos15_64 0.674808341455005680000000
.word 0x0005f4cf ;cos17_64 0.744536271002298580000000
.word 0x0006b6fd ;cos19_64 0.839349645415526810000000
.word 0x0007c7d2 ;cos21_64 0.972568237861960780000000
.word 0x00095b03 ;cos23_64 1.169439933432884700000000
.word 0x000bdf92 ;cos25_64 1.484164616314166200000000
.word 0x00107656 ;cos27_64 2.057781009953410800000000
.word 0x001b42c8 ;cos29_64 3.407608418468719000000000
.word 0x00518523 ;cos31_64 10.190008123548033000000000
.word 0x000404f4 ;cos1_32 0.502419286188155680000000
.word 0x00042e14 ;cos3_32 0.522498614939688850000000
.word 0x0004891a ;cos5_32 0.566944034816357690000000
.word 0x00052cb1 ;cos7_32 0.646821783359990080000000
.word 0x00064e24 ;cos9_32 0.788154623451250200000000
.word 0x00087c45 ;cos11_32 1.060677685990347100000000
.word 0x000dc792 ;cos13_32 1.722447098238334200000000
.word 0x0028cf27 ;cos15_32 5.101148618689155300000000
.word 0x00041410 ;cos1_16 0.509795579104159180000000
.word 0x0004cf8e ;cos3_16 0.601344886935045290000000
.word 0x00073327 ;cos5_16 0.899976223136415570000000
.word 0x001480da ;cos7_16 2.562915447741505500000000
.word 0x0004545f ;cos1_8 0.541196100146197010000000
.word 0x000a73d7 ;cos3_8 1.306562964876376400000000
.word 0x0005a828 ;cos1_4 0.707106781186547460000000
.endif
.global FAmultiple
FAmultiple: .align 2 // scaled by 1/2
.word 0x007fffff ;2.000000000000000000000000
.word 0x006597fb ;1.587401051968200000000000
.word 0x0050a28c ;1.259921049894870100000000
.word 0x00400000 ;1.000000000000000000000000
.word 0x0032cbfd ;0.793700525984100010000000
.word 0x00285146 ;0.629960524947440040000000
.word 0x00200000 ;0.500000000000000000000000
.word 0x001965ff ;0.396850262992050010000000
.word 0x001428a3 ;0.314980262473720020000000
.word 0x00100000 ;0.250000000000000000000000
.word 0x000cb2ff ;0.198425131496020010000000
.word 0x000a1451 ;0.157490131236860010000000
.word 0x00080000 ;0.125000000000000000000000
.word 0x00065980 ;0.099212565748010004000000
.word 0x00050a29 ;0.078745065618430005000000
.word 0x00040000 ;0.062500000000000000000000
.word 0x00032cc0 ;0.049606282874009998000000
.word 0x00028514 ;0.039372532809209999000000
.word 0x00020000 ;0.031250000000000000000000
.word 0x00019660 ;0.024803141436999999000000
.word 0x0001428a ;0.019686266404609999000000
.word 0x00010000 ;0.015625000000000000000000
.word 0x0000cb30 ;0.012401570718500000000000
.word 0x0000a145 ;0.009843133202300000100000
.word 0x00008000 ;0.007812500000000000000000
.word 0x00006598 ;0.006200785359249999900000
.word 0x000050a3 ;0.004921566601150000100000
.word 0x00004000 ;0.003906250000000000000000
.word 0x000032cc ;0.003100392679629999800000
.word 0x00002851 ;0.002460783300579999900000
.word 0x00002000 ;0.001953125000000000000000
.word 0x00001966 ;0.001550196339810000000000
.word 0x00001429 ;0.001230391650290000000000
.word 0x00001000 ;0.000976562500000000000000
.word 0x00000cb3 ;0.000775098169910000020000
.word 0x00000a14 ;0.000615195825139999970000
.word 0x00000800 ;0.000488281250000000000000
.word 0x00000659 ;0.000387549084950000000000
.word 0x0000050a ;0.000307597912569999980000
.word 0x00000400 ;0.000244140625000000000000
.word 0x0000032d ;0.000193774542480000010000
.word 0x00000285 ;0.000153798956290000010000
.word 0x00000200 ;0.000122070312500000000000
.word 0x00000196 ;0.000096887271240000006000
.word 0x00000143 ;0.000076899478140000002000
.word 0x00000100 ;0.000061035156250000000000
.word 0x000000cb ;0.000048443635620000003000
.word 0x000000a1 ;0.000038449739070000001000
.word 0x00000080 ;0.000030517578130000002000
.word 0x00000066 ;0.000024221817810000002000
.word 0x00000051 ;0.000019224869539999999000
.word 0x00000040 ;0.000015258789059999999000
.word 0x00000033 ;0.000012110908899999999000
.word 0x00000028 ;0.000009612434769999999400
.word 0x00000020 ;0.000007629394529999999600
.word 0x00000019 ;0.000006055454449999999600
.word 0x00000014 ;0.000004806217379999999800
.word 0x00000010 ;0.000003814697269999999700
.word 0x0000000d ;0.000003027727230000000100
.word 0x0000000a ;0.000002403108689999999900
.word 0x00000008 ;0.000001907348629999999900
.word 0x00000006 ;0.000001513863609999999900
.word 0x00000005 ;0.000001201554350000000100
.word 0x00000000 ;0.000000000000000000000000
.global FAc_tbl
FAc_tbl: .align 2 // scaled by 1/2
.word 0x00555555 ;1.333333333329999900000000
.word 0x00666666 ;1.600000000000000100000000
.word 0x00492492 ;1.142857142860000100000000
.word 0x0071c71c ;1.777777777769999900000000
.word 0x00444444 ;1.066666666660000000000000
.word 0x00421084 ;1.032258064519999900000000
.word 0x00410410 ;1.015873015870000000000000
.word 0x00408102 ;1.007874015749999900000000
.word 0x00404040 ;1.003921568630000000000000
.word 0x00402010 ;1.001956947160000100000000
.word 0x00401004 ;1.000977517109999900000000
.word 0x00400801 ;1.000488519790000000000000
.word 0x00400400 ;1.000244200240000000000000
.word 0x00400200 ;1.000122085219999900000000
.word 0x00400100 ;1.000061038880000000000000
.word 0x00400080 ;1.000030518510000000000000
.word 0x00400040 ;1.000015259020000000000000
.global FAd_tbl
FAd_tbl: .align 2
.word 0x00400000 ;0.500000000000000000000000
.word 0x00400000 ;0.500000000000000000000000
.word 0x00200000 ;0.250000000000000000000000
.word 0x00400000 ;0.500000000000000000000000
.word 0x00100000 ;0.125000000000000000000000
.word 0x00080000 ;0.062500000000000000000000
.word 0x00040000 ;0.031250000000000000000000
.word 0x00020000 ;0.015625000000000000000000
.word 0x00010000 ;0.007812500000000000000000
.word 0x00008000 ;0.003906250000000000000000
.word 0x00004000 ;0.001953125000000000000000
.word 0x00002000 ;0.000976562500000000000000
.word 0x00001000 ;0.000488281250000000000000
.word 0x00000800 ;0.000244140629999999980000
.word 0x00000400 ;0.000122070310000000000000
.word 0x00000200 ;0.000061035159999999999000
.word 0x00000100 ;0.000030517579999999999000
.global I2Aalloc_0_1
I2Aalloc_0_1: .align 2
I2Asteps:
.short 0x0000 ;steps[0,0]=0
.short 0x0003 ;steps[0,1]=3
.short 0x0007 ;steps[0,2]=7
.short 0x000f ;steps[0,3]=15
.short 0x001f ;steps[0,4]=31
.short 0x003f ;steps[0,5]=63
.short 0x007f ;steps[0,6]=127
.short 0x00ff ;steps[0,7]=255
.short 0x01ff ;steps[0,8]=511
.short 0x03ff ;steps[0,9]=1023
.short 0x07ff ;steps[0,10]=2047
.short 0x0fff ;steps[0,11]=4095
.short 0x1fff ;steps[0,12]=8191
.short 0x3fff ;steps[0,13]=16383
.short 0x7fff ;steps[0,14]=32767
.short 0xffff ;steps[0,15]=65535
.short 0x0000 ;steps[3,0]=0
.short 0x0003 ;steps[3,1]=3
.short 0x0005 ;steps[3,2]=5
.short 0x0007 ;steps[3,3]=7
.short 0x0009 ;steps[3,4]=9
.short 0x000f ;steps[3,5]=15
.short 0x001f ;steps[3,6]=31
.short 0x003f ;steps[3,7]=63
.short 0x007f ;steps[3,8]=127
.short 0x00ff ;steps[3,9]=255
.short 0x01ff ;steps[3,10]=511
.short 0x03ff ;steps[3,11]=1023
.short 0x07ff ;steps[3,12]=2047
.short 0x0fff ;steps[3,13]=4095
.short 0x1fff ;steps[3,14]=8191
.short 0xffff ;steps[3,15]=65535
.short 0x0000 ;steps[11,0]=0
.short 0x0003 ;steps[11,1]=3
.short 0x0005 ;steps[11,2]=5
.short 0x0007 ;steps[11,3]=7
.short 0x0009 ;steps[11,4]=9
.short 0x000f ;steps[11,5]=15
.short 0x001f ;steps[11,6]=31
.short 0xffff ;steps[11,7]=65535
.short 0x0000 ;steps[23,0]=0
.short 0x0003 ;steps[23,1]=3
.short 0x0005 ;steps[23,2]=5
.short 0xffff ;steps[23,3]=65535
B2Abits:
.byte 0x04 ;bits[0,0]=4
.byte 0x05 ;bits[0,1]=5
.byte 0x03 ;bits[0,2]=3
.byte 0x04 ;bits[0,3]=4
.byte 0x05 ;bits[0,4]=5
.byte 0x06 ;bits[0,5]=6
.byte 0x07 ;bits[0,6]=7
.byte 0x08 ;bits[0,7]=8
.byte 0x09 ;bits[0,8]=9
.byte 0x0a ;bits[0,9]=10
.byte 0x0b ;bits[0,10]=11
.byte 0x0c ;bits[0,11]=12
.byte 0x0d ;bits[0,12]=13
.byte 0x0e ;bits[0,13]=14
.byte 0x0f ;bits[0,14]=15
.byte 0x10 ;bits[0,15]=16
.byte 0x04 ;bits[3,0]=4
.byte 0x05 ;bits[3,1]=5
.byte 0x07 ;bits[3,2]=7
.byte 0x03 ;bits[3,3]=3
.byte 0x0a ;bits[3,4]=10
.byte 0x04 ;bits[3,5]=4
.byte 0x05 ;bits[3,6]=5
.byte 0x06 ;bits[3,7]=6
.byte 0x07 ;bits[3,8]=7
.byte 0x08 ;bits[3,9]=8
.byte 0x09 ;bits[3,10]=9
.byte 0x0a ;bits[3,11]=10
.byte 0x0b ;bits[3,12]=11
.byte 0x0c ;bits[3,13]=12
.byte 0x0d ;bits[3,14]=13
.byte 0x10 ;bits[3,15]=16
.byte 0x03 ;bits[11,0]=3
.byte 0x05 ;bits[11,1]=5
.byte 0x07 ;bits[11,2]=7
.byte 0x03 ;bits[11,3]=3
.byte 0x0a ;bits[11,4]=10
.byte 0x04 ;bits[11,5]=4
.byte 0x05 ;bits[11,6]=5
.byte 0x10 ;bits[11,7]=16
.byte 0x02 ;bits[23,0]=2
.byte 0x05 ;bits[23,1]=5
.byte 0x07 ;bits[23,2]=7
.byte 0x10 ;bits[23,3]=16
B2Agroup:
.byte 0x00 ;group[0,0]=0
.byte 0x01 ;group[0,1]=1
.byte 0x03 ;group[0,2]=3
.byte 0x03 ;group[0,3]=3
.byte 0x03 ;group[0,4]=3
.byte 0x03 ;group[0,5]=3
.byte 0x03 ;group[0,6]=3
.byte 0x03 ;group[0,7]=3
.byte 0x03 ;group[0,8]=3
.byte 0x03 ;group[0,9]=3
.byte 0x03 ;group[0,10]=3
.byte 0x03 ;group[0,11]=3
.byte 0x03 ;group[0,12]=3
.byte 0x03 ;group[0,13]=3
.byte 0x03 ;group[0,14]=3
.byte 0x03 ;group[0,15]=3
.byte 0x00 ;group[3,0]=0
.byte 0x01 ;group[3,1]=1
.byte 0x01 ;group[3,2]=1
.byte 0x03 ;group[3,3]=3
.byte 0x01 ;group[3,4]=1
.byte 0x03 ;group[3,5]=3
.byte 0x03 ;group[3,6]=3
.byte 0x03 ;group[3,7]=3
.byte 0x03 ;group[3,8]=3
.byte 0x03 ;group[3,9]=3
.byte 0x03 ;group[3,10]=3
.byte 0x03 ;group[3,11]=3
.byte 0x03 ;group[3,12]=3
.byte 0x03 ;group[3,13]=3
.byte 0x03 ;group[3,14]=3
.byte 0x03 ;group[3,15]=3
.byte 0x00 ;group[11,0]=0
.byte 0x01 ;group[11,1]=1
.byte 0x01 ;group[11,2]=1
.byte 0x03 ;group[11,3]=3
.byte 0x01 ;group[11,4]=1
.byte 0x03 ;group[11,5]=3
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -