英锐恩单片机论坛,Microchip单片机,模拟器件,接口电路,麦肯单片机,单片机应用交流
标题:
怎么快速的送较大量的数据到RAM?
[打印本页]
作者:
winnie
时间:
2009-5-18 11:13
标题:
怎么快速的送较大量的数据到RAM?
比如我有数据
DB 00H,00H,00H,00H,00H,00H,00H,0FEH,40H,40H,40H,40H,40H,00H,00H,00H
DB 00H,40H,40H,40H,40H,40H,40H,7FH,40H,40H,40H,40H,40H,60H,40H,00H,
怎么把这些数据读进RAM的30H-4FH??
作者:
winnie
时间:
2009-5-18 11:13
用间址方式
TABLE
……
DB 00H,00H,00H,00H,00H,00H,00H,0FEH,40H,40H,40H,40H,40H,00H,00H,00H
DB 00H,40H,40H,40H,40H,40H,40H,7FH,40H,40H,40H,40H,40H,60H,40H,00H,
……
MOVLW 30H
MOVWF FSR
LOOP
CALL TABLE
MOVWF INDF
INCF FSR
MOVLW 50H
XORWF FSR,W
BTFSS STATUS,Z
GOTO LOOP
……
欢迎光临 英锐恩单片机论坛,Microchip单片机,模拟器件,接口电路,麦肯单片机,单片机应用交流 (http://enroobbs.com/)
Powered by Discuz! X3.2