MCS-51單片機實用子程序庫
;片內RAM初始化子程序IBCLR: MOV A,R0MOV R1,ACLR AIBC1 : MOV @R1,Ainc R1DJNZ R7,IBC1RET;片外RAM初始化子程序EBCLR1: MOV A,ADDPLMOV DPL,AMOV A,ADDPHMOV DPH,ACLR CEBC11: MOVX @DPTR,Ainc DPTRDJNZ R7,EBC11RET;片外RAM初始化子程序(雙字節個單元)EBCLR2: MOV A,ADDPLMOV DPL,AMOV A,ADDPHMOV DPH,AMOV A,R7JZ EBC21inc R6EBC21: CLR AMOVX @DPTR,Ainc DPTRDJNZ R7,EBC21DJNZ R6,EBC21RET;內部RAM數據復制程序;入口: R0,R7;占用資源: A;堆棧需求: 2字節
標簽:
MCS
51
單片機實用
程序
上傳時間:
2013-10-10
上傳用戶:18602424091
USB接口控制器參考設計,xilinx提供VHDL代碼 usb xilinx vhdl
; This program is free software; you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation; either version 2 of the License, or
; (at your option) any later version.
;
; This program is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
; GNU General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with this program; if not, write to the Free Software
; Foundation, inc., 675 Mass Ave, Cambridge, MA 02139, USA.
標簽:
xilinx
VHDL
USB
us
上傳時間:
2013-10-12
上傳用戶:windgate
USB接口控制器參考設計,xilinx提供VHDL代碼 usb xilinx vhdl
; This program is free software; you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation; either version 2 of the License, or
; (at your option) any later version.
;
; This program is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
; GNU General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with this program; if not, write to the Free Software
; Foundation, inc., 675 Mass Ave, Cambridge, MA 02139, USA.
標簽:
xilinx
VHDL
USB
us
上傳時間:
2013-10-29
上傳用戶:zhouchang199