亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? lfdac.asm

?? 一些DSP2407源程序
?? ASM
?? 第 1 頁 / 共 3 頁
字號(hào):
		SACH	DAC1VAL,1		;Store the new value to DAC0VAL to output, shift to get Q15


;The following section performs the necessary calculations for the third sine wave

		LACC	MODREG2		;ACC loaded with the counting register
		ADD		FREQSTEP2		;Counting Register increased by specific step
		SACL	MODREG2		;Store the updated the counter value
		LACC	MODREG2,8		;Reload the new counter value but shift left by 8 bits
		SACH	TABLE			;Store the high bit into the TABLE as pointer to lookup table
		SFR				;Shift the value to the right convert to Q15
		AND		#07FFFh		;Make sure the Q15 value is positive
		SACL 	REMAINDER		;Store the fractional value of the counting register

		LACC	TABLE			;Load the accumulator with the proper index value
		ADD		TOPTABLE		;Displace the ACC with the starting address
		TBLR	VALUE			;Read the value from the table and store into VALUE
		ADD		#1			;Increment the ACC to the next address
		TBLR	NEXTVALUE		;Read the next value from the table and store into NEXTVALUE

		LACC	NEXTVALUE		;Load the ACC with NEXTVALUE
		SUB		VALUE			;Subtract the previous value
		SACL	DIFFERENCE		;Store the difference between the values into DIFFERENCE	
		
		LT		DIFFERENCE		;Load the TREG with DIFFERENCE
		MPY		REMAINDER		;Multiply the DIFFERENCE with REMAINDER
		PAC				;Move the product to the ACC
		SACH	REMAINDER,1		;Store the upper byte to REMAINER and shift left by 1, Q15

		LACC	REMAINDER		;Load ACC with new REMAINDER
		ADD		VALUE			;Add VALUE to get the new interpolated value
		SACL	VALUE			;Store the interpolated value into VALUE

		LT		VALUE			;Load the TREG with the new interpolated VALUE
		MPY		MAG2			;Multiply VALUE by a magnitude 
		PAC				;Move the product to ACC
		SACH	DAC2VAL,1		;Store the new value to DAC0VAL to output, shift to get Q15

;The following section performs the necessary calculations for the fourth sine wave

		LACC	MODREG3		;ACC loaded with the counting register
		ADD		FREQSTEP3		;Counting Register increased by specific step
		SACL	MODREG3		;Store the updated the counter value
		LACC	MODREG3,8		;Reload the new counter value but shift left by 8 bits
		SACH	TABLE			;Store the high bit into the TABLE as pointer to lookup table
		SFR				;Shift the value to the right convert to Q15
		AND		#07FFFh		;Make sure the Q15 value is positive
		SACL 	REMAINDER		;Store the fractional value of the counting register

		LACC	TABLE			;Load the accumulator with the proper index value
		ADD		TOPTABLE		;Displace the ACC with the starting address
		TBLR	VALUE			;Read the value from the table and store into VALUE
		ADD		#1			;Increment the ACC to the next address
		TBLR	NEXTVALUE		;Read the next value from the table and store into NEXTVALUE

		LACC	NEXTVALUE		;Load the ACC with NEXTVALUE
		SUB		VALUE			;Subtract the previous value
		SACL	DIFFERENCE		;Store the difference between the values into DIFFERENCE	
		
		LT		DIFFERENCE		;Load the TREG with DIFFERENCE
		MPY		REMAINDER		;Multiply the DIFFERENCE with REMAINDER
		PAC				;Move the product to the ACC
		SACH	REMAINDER,1		;Store the upper byte to REMAINER and shift left by 1, Q15

		LACC	REMAINDER		;Load ACC with new REMAINDER
		ADD		VALUE			;Add VALUE to get the new interpolated value
		SACL	VALUE			;Store the interpolated value into VALUE

		LT		VALUE			;Load the TREG with the new interpolated VALUE
		MPY		MAG3			;Multiply VALUE by a magnitude 
		PAC				;Move the product to ACC
		SACH	DAC3VAL,1		;Store the new value to DAC0VAL to output, shift to get Q15

;Sets the values to 12 bits

		LDP		#0			;This section outputs the SINE wave to the DAC
		LACC	DAC0VAL		;ACC = DAC0VAL - entry from the lookup table
		ADD		#8000h		;Displace the value half the maximum
		SFR				;Shift over 4 places since the DAC is 12bits
		SFR
		SFR
		SFR		
		SACL	DAC0VAL		;Store the new 12 bit value into DAC0VAL

		LACC	DAC1VAL		;ACC = DAC0VAL - entry from the lookup table
		ADD		#8000h		;Displace the value half the maximum
		SFR				;Shift over 4 places since the DAC is 12bits
		SFR
		SFR
		SFR		
		SACL	DAC1VAL		;Store the new 12 bit value into DAC1VAL

		LACC	DAC2VAL		;ACC = DAC0VAL - entry from the lookup table
		ADD		#8000h		;Displace the value half the maximum
		SFR				;Shift over 4 places since the DAC is 12bits
		SFR
		SFR
		SFR		
		SACL	DAC2VAL		;Store the new 12 bit value into DAC2VAL

		LACC	DAC3VAL		;ACC = DAC0VAL - entry from the lookup table
		ADD		#8000h		;Displace the value half the maximum
		SFR				;Shift over 4 places since the DAC is 12bits
		SFR
		SFR
		SFR		
		SACL	DAC3VAL		;Store the new 12 bit value into DAC3VAL

		OUT 	DAC0VAL,DAC0	;Stores the 12 bit value into DAC0 register
		OUT		DAC1VAL,DAC1	;Stores the 12 bit value into DAC1 register
		OUT 	DAC2VAL,DAC2	;Stores the 12 bit value into DAC2 register
		OUT		DAC3VAL,DAC3	;Stores the 12 bit value into DAC3 register
		OUT 	DAC0VAL,DAC_UPDATE ;Causes the DAC to output the value

		B	SINE

;-------------------------------------------------------
; Sine look-up table
; No. Entries	: 256
; Angle Range	: 360 deg
; Number format : Q15 with range -1 < N < +1
;-------------------------------------------------------
		      ;SINVAL	     ;	      Index	Angle	Sin(Angle)
STABLE  	.word	  	0	     	 ;		0	  	0	0.0000
            .word        804         ;          1        1.41     0.0245
            .word       1608         ;          2        2.81     0.0491
            .word       2410         ;          3        4.22     0.0736
            .word       3212         ;          4        5.63     0.0980
            .word       4011         ;          5        7.03     0.1224
            .word       4808         ;          6        8.44     0.1467
            .word       5602         ;          7        9.84     0.1710
            .word       6393         ;          8       11.25     0.1951
            .word       7179         ;          9       12.66     0.2191
            .word       7962         ;         10       14.06     0.2430
            .word       8739         ;         11       15.47     0.2667
            .word       9512         ;         12       16.88     0.2903
            .word       10278        ;         13       18.28     0.3137
            .word       11039        ;         14       19.69     0.3369
            .word       11793        ;         15       21.09     0.3599
            .word       12539        ;         16       22.50     0.3827
            .word       13279        ;         17       23.91     0.4052
            .word       14010        ;         18       25.31     0.4276
            .word       14732        ;         19       26.72     0.4496
            .word       15446        ;         20       28.13     0.4714
            .word       16151        ;         21       29.53     0.4929
            .word       16846        ;         22       30.94     0.5141
            .word       17530        ;         23       32.34     0.5350
            .word       18204        ;         24       33.75     0.5556
            .word       18868        ;         25       35.16     0.5758
            .word       19519        ;         26       36.56     0.5957
            .word       20159        ;         27       37.97     0.6152
            .word       20787        ;         28       39.38     0.6344
            .word       21403        ;         29       40.78     0.6532
            .word       22005        ;         30       42.19     0.6716
            .word       22594        ;         31       43.59     0.6895
            .word       23170        ;         32       45.00     0.7071
            .word       23731        ;         33       46.41     0.7242
            .word       24279        ;         34       47.81     0.7410
            .word       24811        ;         35       49.22     0.7572
            .word       25329        ;         36       50.63     0.7730
            .word       25832        ;         37       52.03     0.7883
            .word       26319        ;         38       53.44     0.8032
            .word       26790        ;         39       54.84     0.8176
            .word       27245        ;         40       56.25     0.8315
            .word       27683        ;         41       57.66     0.8449
            .word       28105        ;         42       59.06     0.8577
            .word       28510        ;         43       60.47     0.8701
            .word       28898        ;         44       61.88     0.8819
            .word       29268        ;         45       63.28     0.8932
            .word       29621        ;         46       64.69     0.9040
            .word       29956        ;         47       66.09     0.9142
            .word       30273        ;         48       67.50     0.9239
            .word       30571        ;         49       68.91     0.9330
            .word       30852        ;         50       70.31     0.9415
            .word       31113        ;         51       71.72     0.9495
            .word       31356        ;         52       73.13     0.9569
            .word       31580        ;         53       74.53     0.9638
            .word       31785        ;         54       75.94     0.9700
            .word       31971        ;         55       77.34     0.9757
            .word       32137        ;         56       78.75     0.9808
            .word       32285        ;         57       80.16     0.9853
            .word       32412        ;         58       81.56     0.9892
            .word       32521        ;         59       82.97     0.9925
            .word       32609        ;         60       84.38     0.9952
            .word       32678        ;         61       85.78     0.9973
            .word       32728        ;         62       87.19     0.9988
            .word       32757        ;         63       88.59     0.9997
            .word       32767        ;         64       90.00     1.0000
            .word       32757        ;         65       91.41     0.9997
            .word       32728        ;         66       92.81     0.9988
            .word       32678        ;         67       94.22     0.9973
            .word       32609        ;         68       95.63     0.9952
            .word       32521        ;         69       97.03     0.9925
            .word       32412        ;         70       98.44     0.9892
            .word       32285        ;         71       99.84     0.9853
            .word       32137        ;         72       101.25    0.9808
            .word       31971        ;         73       102.66    0.9757
            .word       31785        ;         74       104.06    0.9700

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
韩国成人精品a∨在线观看| 一级日本不卡的影视| 精品亚洲国产成人av制服丝袜| 51精品国自产在线| 奇米777欧美一区二区| 精品国产一二三| 国产精品123区| 欧美国产精品久久| 91丨九色丨蝌蚪丨老版| 亚洲电影一级黄| 欧美电视剧免费全集观看| 国产成人免费网站| 一区二区三区四区在线播放| 欧美手机在线视频| 久久69国产一区二区蜜臀| 国产日韩欧美精品一区| 色吊一区二区三区| 久久丁香综合五月国产三级网站 | 色欧美片视频在线观看| 亚洲午夜视频在线观看| 欧美一区二区三区白人| 国产精品自产自拍| 亚洲免费看黄网站| 日韩欧美成人激情| 99免费精品在线| 免费观看91视频大全| 国产精品久久久一本精品| 欧美日韩一区三区四区| 国产精品白丝jk黑袜喷水| 亚洲综合成人在线| 国产亚洲成aⅴ人片在线观看| 色婷婷国产精品综合在线观看| 老司机精品视频在线| 亚洲精品高清在线| 久久日一线二线三线suv| 色综合天天综合| 国产剧情一区在线| 亚洲高清免费在线| 国产精品成人一区二区艾草| 欧美一级欧美一级在线播放| 99久久国产综合精品色伊| 毛片av一区二区三区| 亚洲精品老司机| 国产婷婷色一区二区三区四区| 欧美精品精品一区| 色综合久久久久| 国产成人精品网址| 免费欧美高清视频| 午夜欧美在线一二页| 国产精品视频九色porn| 欧美成人伊人久久综合网| 在线视频一区二区三| 丁香激情综合国产| 久久99精品国产.久久久久久| 亚洲风情在线资源站| 国产精品国产三级国产aⅴ无密码| 日韩欧美aaaaaa| 制服丝袜中文字幕亚洲| 色欧美片视频在线观看| www.日本不卡| 丁香激情综合五月| 国产精品 欧美精品| 极品少妇xxxx偷拍精品少妇| 日韩激情一区二区| 亚洲高清视频在线| 午夜av电影一区| 亚洲欧美国产77777| 国产精品夫妻自拍| 国产精品久久久久一区二区三区共| 久久久久久影视| 26uuu国产电影一区二区| 日韩欧美国产不卡| 精品国产不卡一区二区三区| 欧美不卡一区二区| 精品日韩一区二区三区| 精品欧美乱码久久久久久1区2区| 日韩欧美高清一区| 久久综合九色综合97_久久久| 日韩精品在线看片z| 精品99一区二区| 久久久亚洲精品一区二区三区| 精品国产乱码久久久久久久| 欧美成人精品3d动漫h| 精品日产卡一卡二卡麻豆| 久久青草欧美一区二区三区| 久久蜜桃av一区精品变态类天堂| 中文字幕欧美三区| 亚洲人妖av一区二区| 亚洲国产精品欧美一二99| 亚洲成人免费视频| 久久精品国产一区二区三| 黑人巨大精品欧美一区| 成人动漫精品一区二区| 91在线一区二区| 欧美日韩精品一区二区| 欧美一级理论性理论a| 26uuu国产电影一区二区| 国产精品国产三级国产aⅴ原创| 亚洲制服丝袜在线| 日本一区中文字幕| 国产美女视频一区| 色综合久久久久久久久久久| 欧美男同性恋视频网站| 精品对白一区国产伦| 中文字幕在线不卡国产视频| 亚洲一区二区欧美激情| 美日韩一区二区| av在线播放不卡| 欧美精品九九99久久| 国产日韩欧美电影| 亚洲一二三四在线观看| 久久超级碰视频| 91免费精品国自产拍在线不卡| 欧美色图在线观看| 国产亚洲欧美日韩日本| 亚洲一区二区欧美激情| 国产精品99久久久久久宅男| 在线观看区一区二| 久久久久久久久久久久电影 | 日韩欧美中文字幕精品| 久久精品夜色噜噜亚洲a∨| 亚洲精品国产成人久久av盗摄| 日本欧美在线观看| 91麻豆国产在线观看| 欧美电影免费观看完整版| 一区二区在线观看视频| 国产揄拍国内精品对白| 欧美日韩国产另类一区| 国产精品久久网站| 久久99国内精品| 欧美中文字幕一区| 中文无字幕一区二区三区 | 在线免费av一区| 久久精品亚洲精品国产欧美kt∨| 一区二区三区精密机械公司| 国产69精品久久久久777| 在线不卡欧美精品一区二区三区| 国产精品乱人伦一区二区| 美女精品自拍一二三四| 欧美性色综合网| 亚洲人123区| 国产成人综合在线| 欧美大片一区二区| 五月综合激情婷婷六月色窝| 色88888久久久久久影院按摩| 久久久精品蜜桃| 蜜臀久久99精品久久久久久9| 欧美中文字幕一区| 怡红院av一区二区三区| a亚洲天堂av| 国产精品丝袜在线| 国产精品自拍一区| 久久久久亚洲蜜桃| 国内外精品视频| 久久五月婷婷丁香社区| 捆绑调教美女网站视频一区| 在线成人av影院| 日韩精品成人一区二区三区 | 精品在线亚洲视频| 欧美精品18+| 日韩制服丝袜先锋影音| 欧美日韩精品系列| 午夜在线成人av| 欧美日韩国产高清一区二区| 亚洲午夜电影在线| 精品视频在线视频| 亚洲777理论| 欧美一区二区三区在线看| 日韩电影网1区2区| 日韩精品一区二区三区蜜臀| 精品制服美女丁香| 久久精品视频免费观看| 国产成人免费视频精品含羞草妖精| 久久免费看少妇高潮| 从欧美一区二区三区| 国产精品人人做人人爽人人添| 丰满岳乱妇一区二区三区| 中文字幕第一区综合| 99久久综合精品| 亚洲欧美日韩国产综合在线| 91行情网站电视在线观看高清版| 一区二区三区在线高清| 欧美日韩亚洲另类| 久久疯狂做爰流白浆xx| 国产欧美精品一区aⅴ影院| 成人av免费在线观看| 亚洲欧美日本韩国| 欧美日韩第一区日日骚| 玖玖九九国产精品| 国产欧美日本一区二区三区| 91日韩精品一区| 日本中文字幕一区| 国产日韩三级在线| 在线中文字幕一区二区| 奇米在线7777在线精品| 欧美激情中文字幕| 在线观看亚洲精品视频| 久久国产夜色精品鲁鲁99| 中文字幕日韩精品一区| 在线观看亚洲精品视频|