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

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

?? xmdstub.s

?? 關(guān)于xilinx大學(xué)計劃配需教程實驗五源代碼
?? S
?? 第 1 頁 / 共 2 頁
字號:
/*---------------------------------------------------------------------- * * Copyright (c) 2005 Xilinx, Inc.  All rights reserved.  * Xilinx, Inc.  * * XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS" AS A  * COURTESY TO YOU.  BY PROVIDING THIS DESIGN, CODE, OR INFORMATION AS  * ONE POSSIBLE   IMPLEMENTATION OF THIS FEATURE, APPLICATION OR  * STANDARD, XILINX IS MAKING NO REPRESENTATION THAT THIS IMPLEMENTATION  * IS FREE FROM ANY CLAIMS OF INFRINGEMENT, AND YOU ARE RESPONSIBLE  * FOR OBTAINING ANY RIGHTS YOU MAY REQUIRE FOR YOUR IMPLEMENTATION.  * XILINX EXPRESSLY DISCLAIMS ANY WARRANTY WHATSOEVER WITH RESPECT TO  * THE ADEQUACY OF THE IMPLEMENTATION, INCLUDING BUT NOT LIMITED TO  * ANY WARRANTIES OR REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE  * FROM CLAIMS OF INFRINGEMENT, IMPLIED WARRANTIES OF MERCHANTABILITY  * AND FITNESS FOR A PARTICULAR PURPOSE.  * * $Header: /devl/xcs/repo/env/Jobs/MDT/sw/Apps/debug/xmdstub/src/xmdstub.s,v 1.1.2.6 2005/11/15 23:29:47 salindac Exp $ * $Id: xmdstub.s,v 1.1.2.6 2005/11/15 23:29:47 salindac Exp $ * *	XMD_stub version 1.0                         *      MicroBlaze                                   *      Author: G鰎an Bilski                         *      Created:  11 Juli 2001	                    *      Modified: 20 Sept 2001                      	 *	Modified: 08 Nov  2001                      *	Modified: 12 Mar  2002 (jece & navanee)    	 *	Modified: 25 Aug  2004 (navanee) *	Modified: Jan 2005 (Raj - Added Half Word/Byte Read & Write)	  * ----------------------------------------------------------------------*/	/*--------------------------------------------------*/	/* MicroBlaze jump table                            */        /* 0x0  - Reset address                             */		/* 0x8  - Exception address                         */        /* 0x10 - Interrupt address                         */        /* 0x18 - Break signal address (short branch)       */	/* 0x1c - Breakpoint address (short branch)         */		/* 0x20 - Hardware Exception addr (MB ref guide)    */        /* 0x28 - Program Exit(crt1.s) (short branch)       */	/*--------------------------------------------------*/	.section .vectors.reset, "ax"	.align 2 _vector_reset:       			brki r16, StartUp_Entry	bri Program_Exit		.section .vectors.debug_sw_break, "ax"        .align 2_vector_debug_sw_break:       			bri Brk_Signal_Entry	bri Debug_Entry        .section .text        .align 2		        .globl _start	.globl	xmd_stub	.ent	xmd_stub _start:	xmd_stub:	.equ uart_rx_data,         DEBUG_PERIPHERAL_BASEADDRESS	.equ uart_tx_data,         DEBUG_PERIPHERAL_BASEADDRESS +  4	.equ uart_stat,	           DEBUG_PERIPHERAL_BASEADDRESS +  8	.equ uart_ctrl,		   DEBUG_PERIPHERAL_BASEADDRESS + 12		.equ uart_tx_buffer_empty, 0b100	.equ uart_rx_data_valid,   0b001		.equ uart_rst_rx_fifo,      0b010	.equ uart_rst_tx_fifo,      0b001		.equ Reached_End_Of_Program, 0x00	.equ Reached_Breakpoint,     0x01	.equ Received_brk_signal,    0x02	.equ ProcReset_signal,       0x03	.equ Escape_Char,            0xFC	.equ ReSync_Char,            0xFE	.equ Stub_ID,                0x40	.equ Reset_TxFifo,	     0x01	.equ Reset_RxFifo,	     0x02	.equ Clear_ExtBreak,	     0x04	.equ Intr_Enabled,	     0x10		.equ version, 4	/*--------------------------------------------------*/	/* ReSync                                           */	/* - Remove any stale data from the RX and TX fifo  */	/* - Send back the stubID + version number          */	/*--------------------------------------------------*/ReSync:	lwi  r15, r0, uart_stat	andi r15,r15, Intr_Enabled	ori  r15, r15, uart_rst_tx_fifo + uart_rst_rx_fifo	swi  r15, r0, uart_ctrl	brlid r29,Wait_for_TX_space	addi r30,r0,Stub_ID + version	swi  r30,r0,uart_tx_data	/*--------------------------------------------------*/	/* Main command entry code                          */	/* - Wait for the next command                      */	/*    0 = Download Program                          */	/*    4 = Continue                                  */	/*    8 = Read Registers                            */	/*   12 = Write Register                            */	/*   16 = Read Memory                               */	/*   20 = Write Memory                              */	/*   24 = Resync                                    */	/*   28 = Return Debug Addr - Deprecated	    */	/*   32 = Continue				    */		/*   36 = SingleStep                                */	/*   40 = Read Memory Half Word			    */	/*   44 = Read Memory Byte			    */	/*   48 = Write Memory Half Word		    */	/*   52 = Write Memory Byte			    */	/* - Call the command without any link              */	/*--------------------------------------------------*/Wait_for_command:		brlid r29,Get_Char	nop	lwi r29,r3,jump_table	bra r29	/*--------------------------------------------------*/	/* This section will end up in the rodata section    */	/* Is place here for helping understanding the code */	/*--------------------------------------------------*/	.rodata	.align 2jump_table:  	.int Load_Memory  	.int Execute  	.int Read_Register   	.int Write_Register	.int Read_Memory  	.int Write_Memory 	.int ReSync	.int Return_Dbg_Addr	.int Continue	.int SingleStep	.int Read_Memory_Half	.int Read_Memory_Byte	.int Write_Memory_Half	.int Write_Memory_Byte		/*--------------------------------------------------*/	/* Go back to the text section(instruction)         */	/*--------------------------------------------------*/		.text	/*--------------------------------------------------*/		/* Read all registers command                       */	/* Get the values of all registers                  */	/*   from the register_dump where the register      */	/*   values are stored                              */	/* - Send all values to the terminal (through UART) */	/*   33 words will be sent: 1-31 and pc and msr     */	/*   Note that the pc value sent is always incorrect*/	/*   It has to be in the table for consistency      */	/* - Jump to the main command entry code            */	/*--------------------------------------------------*/	Read_Register:		addi r28, r0, register_dump+4	addi r26, r0, 33Read_Register_1:			brlid r15, Send_32Bit	lw   r5, r28, r0	addi r26,r26,-1	bneid r26, Read_Register_1	addi r28,r28,4	bri Wait_for_command		/*--------------------------------------------------*/		/* Write to a register value command                */	/* - Get a byte which is the register asked for     */	/*   The byte has to be Register_Number*4,          */	/*   since the value will be used as word address   */        /*   and the addressing is always in byte addresses */	/*   ex. Want to see value of register 15           */	/*       The byte value has to be 4*15 = 60         */	/* - Get 32 bits (4 bytes) which is the new value   */	/*   for the register                               */	/* - Store the new value to the stored value for    */	/*   that register from the register_dump where the */	/*   register values are stored                     */	/* - Jump to the main command entry code            */	/*--------------------------------------------------*/	Write_Register:		/* Write a register value                    */	/* Next byte is which register               */	/* Next four bytes is the new register value */	brlid r29,Get_Char	nop	brlid r15,Get_32Bit	or r28,r3,r0	swi r3,r28,register_dump	bri Wait_for_command	/*--------------------------------------------------*/		/* Read from memory command                         */	/* - Get 32 bits (4 bytes) which is the memory      */	/*   address.                                       */	/* - Read the value from that memory address        */	/*   for the register                               */	/* - Send that value to the terminal (through UART) */	/* - Jump to the main command entry code            */	/*--------------------------------------------------*/	Read_Memory:	/* Next four bytes is the address */	/* The response will be the value in that address */	/* send as four bytes */	brlid r15,Get_32Bit	nop	brlid r15,Send_32Bit	lw r5,r3,r0	bri Wait_for_command	/*--------------------------------------------------*/		/* Read from memory Half Word command               */	/* - Get 32 bits (4 bytes) which is the memory      */	/*   address.                                       */	/* - Read the value from that memory address        */	/*   for the register                               */	/* - Send that value to the terminal (through UART) */	/* - Jump to the main command entry code            */	/*--------------------------------------------------*/	Read_Memory_Half:	/* Next four bytes is the address */	/* The response will be the value in that address */	/* send as two bytes */	brlid r15,Get_32Bit	nop	brlid r15,Send_16Bit	lhu r5,r3,r0	bri Wait_for_command	/*--------------------------------------------------*/		/* Read from memory Byte command                    */	/* - Get 32 bits (4 bytes) which is the memory      */	/*   address.                                       */	/* - Read the value from that memory address        */	/*   for the register                               */	/* - Send that value to the terminal (through UART) */	/* - Jump to the main command entry code            */	/*--------------------------------------------------*/		Read_Memory_Byte:	/* Next four bytes is the address */	/* The response will be the value in that address */	/* send a byte */	brlid r15,Get_32Bit	nop	brid Send_Status	lbu r15,r3,r0	/*--------------------------------------------------*/		/* Write to memory command                          */	/* - Get 32 bits (4 bytes) which is the memory      */	/*   address.                                       */	/* - Get 32 bits (4 bytes) which is the new value   */	/*   for that memory address.                       */	/* - Write the new value to the memory.             */	/* - Jump to the main command entry code            */	/*--------------------------------------------------*/	Write_Memory:	/* Next four byte is the address */	/* Then the next four byte is the new data */	brlid r15,Get_32Bit	nop	brlid r15,Get_32Bit	or r28,r3,r0	swi r3,r28,0	bri Wait_for_commandWrite_Memory_Half:	/* Next four bytes is the address */	/* Then the next two bytes is the new data */	brlid r15,Get_32Bit	nop	brlid r15,Get_16Bit	or r28,r3,r0	shi r3,r28,0	bri Wait_for_commandWrite_Memory_Byte:	/* Next four byte is the address */	/* Then the next byte is the new data */	brlid r15,Get_32Bit	nop	brlid r29,Get_Char	or r28,r3,r0	sbi r3,r28,0	bri Wait_for_command		/*--------------------------------------------------*/		/* Download program command                         */	/* - Get 32 bits (4 bytes) which is the start       */	/*   address for the downloading                    */	/* - Get 32 bits (4 bytes) which is the number of   */	/*   bytes in the downloading                       */	/* - Loop                                           */	/*   - Get a byte                                   */	/*   - Store it at the memory address               */	/*   - Increment the memory address with 1          */	/*   - Decrement the number of bytes by 1           */	/*   - Continue until all bytes has been received   */	/* - Jump to the main command entry code            */	/*--------------------------------------------------*/	Load_Memory:		/* Next 4 bytes is the start address */	/* The next four bytes is the number of bytes */	brlid r15,Get_32Bit	nop	brlid r15,Get_32Bit	or r28,r3,r0	or r25,r3,r0Load_Memory_1:		brlid r29,Get_Char	addi r25,r25,-1	sb r3,r28,r0	bneid r25,Load_Memory_1	addi r28,r28,1	bri Wait_for_command					/*--------------------------------------------------*/	/* NOTE : EXECUTE FOR THE SAKE OF COMPATIBILITY WITH MDK 2.2 */	/* Execute program command                          */	/* - Get 32 bits (4 bytes) which is the memory      */	/*   address.                                       */	/* - Load all register from the register_dump       */	/*--------------------------------------------------*/	Execute:	/* Next four byte is the start address */	brlid r15,Get_32Bit	nop	/* Set the R16 value in the reg dump to the start addr  */	/* When control falls thru to the Continue command      */	/* it will start execution from the addr in the new R16 */	swi r3,r0,register_dump+64	/* Fall thru to the following Continue command */		/*--------------------------------------------------*/	/* Continue command                                 */	/* continue at the instruction after the brk        */	/*  - Restore all registers                         */	/*  - jump to the address for the BRK instruction   */	/*--------------------------------------------------*/Continue:	brlid r15, Get_All_Registers	nop	rtbd r16, 0	lwi r15,r0,register_dump+15*4	/*--------------------------------------------------*/	/* SingleStep command                               */	/* step single instruction without enabling         */	/* the BIP flag                                     */	/*  - Restore all registers                         */	/*  - jump to the address for the BRK instruction   */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩精品成人一区二区三区| 亚洲精品老司机| 精品一区二区在线视频| 日韩一区二区在线观看| 免费人成黄页网站在线一区二区| 欧美一区二区在线观看| 日韩主播视频在线| 26uuu精品一区二区三区四区在线| 国产在线播放一区二区三区| 中文字幕av一区二区三区| 91色在线porny| 亚洲成人av福利| 欧美电影免费观看高清完整版在| 国产精品一级黄| 亚洲欧洲美洲综合色网| 欧美性受极品xxxx喷水| 三级久久三级久久久| 久久久久99精品一区| 91玉足脚交白嫩脚丫在线播放| 一区二区三区精品久久久| 日韩一级片网站| 粉嫩嫩av羞羞动漫久久久| 亚洲综合色噜噜狠狠| 日韩免费电影一区| 99久久综合99久久综合网站| 亚洲午夜久久久久久久久电影网| 日韩视频国产视频| 99re热这里只有精品免费视频| 亚洲成人免费视频| 中文一区二区完整视频在线观看| 欧美在线免费视屏| 国产一区欧美二区| 亚洲一区在线观看视频| 亚洲精品一区二区三区蜜桃下载 | 久久久久国产一区二区三区四区| av电影在线不卡| 麻豆91小视频| 一区二区三区影院| 国产欧美一区在线| 这里只有精品免费| 99热这里都是精品| 国模大尺度一区二区三区| 亚洲第四色夜色| 一区二区中文字幕在线| 精品人在线二区三区| 欧美在线free| 97久久人人超碰| 国内精品嫩模私拍在线| 亚洲福中文字幕伊人影院| 国产精品久久久久久久午夜片 | 99精品一区二区| 久久99久久精品| 午夜不卡av免费| 亚洲天堂成人在线观看| 久久久精品免费网站| 91精品国产综合久久精品app| 色婷婷一区二区三区四区| 国产超碰在线一区| 国产在线不卡一卡二卡三卡四卡| 日本午夜一区二区| 一区二区在线观看视频在线观看| 国产欧美一区二区精品仙草咪| 欧美一区二区三区四区视频| 欧美中文一区二区三区| 一本一本久久a久久精品综合麻豆| 春色校园综合激情亚洲| 国产美女在线精品| 精品一区二区三区久久| 精品一区在线看| 韩国女主播一区二区三区| 蜜桃在线一区二区三区| 蜜芽一区二区三区| 麻豆精品视频在线| 捆绑紧缚一区二区三区视频 | 国内一区二区视频| 久久99精品久久久久久动态图| 丝袜美腿亚洲色图| 日本视频中文字幕一区二区三区 | 免费观看日韩电影| 蜜臀久久久99精品久久久久久| 日本视频一区二区| 麻豆视频一区二区| 国产一区二区美女| 国产福利91精品| 成人18视频日本| 91在线观看美女| 欧美影院一区二区三区| 在线观看日韩电影| 在线成人小视频| 日韩午夜小视频| 欧美精品一区二区在线观看| 久久久久久久综合色一本| 国产视频一区在线播放| 亚洲国产高清在线观看视频| 国产精品久久久久国产精品日日| 综合精品久久久| 午夜视频在线观看一区二区三区| 石原莉奈一区二区三区在线观看| 伦理电影国产精品| 国产.欧美.日韩| 91猫先生在线| 在线成人午夜影院| 国产片一区二区三区| 久久精品国产第一区二区三区| 久久爱www久久做| av在线不卡免费看| 欧美羞羞免费网站| 精品久久人人做人人爽| 国产精品高清亚洲| 亚洲成av人片| 成人午夜在线视频| 欧美性受极品xxxx喷水| 久久日一线二线三线suv| 中文字幕一区二区三区精华液| 亚洲自拍偷拍综合| 国产在线不卡一区| 欧美吞精做爰啪啪高潮| 精品国一区二区三区| 亚洲三级在线看| 久久精品免费观看| 色激情天天射综合网| 欧美成人性福生活免费看| 亚洲色图欧洲色图婷婷| 极品少妇一区二区| 欧美午夜电影在线播放| 精品免费视频.| 亚洲精品大片www| 国产一区二区三区精品欧美日韩一区二区三区 | 精品一区二区三区在线播放| 懂色av一区二区夜夜嗨| 88在线观看91蜜桃国自产| 一区精品在线播放| 国产乱码精品一区二区三| 欧美群妇大交群的观看方式| 国产精品欧美久久久久无广告 | 欧美哺乳videos| 亚洲精品国产第一综合99久久| 国模少妇一区二区三区| 7777精品伊人久久久大香线蕉经典版下载 | 91成人免费在线视频| 久久久影视传媒| 日韩一区精品字幕| 91亚洲大成网污www| 久久久青草青青国产亚洲免观| 午夜激情综合网| 91蝌蚪porny成人天涯| 久久精品日产第一区二区三区高清版 | 亚洲国产精品久久久男人的天堂| 盗摄精品av一区二区三区| 日韩美女视频一区二区在线观看| 亚洲一二三区视频在线观看| kk眼镜猥琐国模调教系列一区二区| 欧美xxxx在线观看| 日本欧美韩国一区三区| 欧美日韩精品欧美日韩精品一综合| 亚洲人吸女人奶水| 99精品视频在线免费观看| 国产午夜精品一区二区三区四区| 99久久免费视频.com| 国产午夜精品一区二区三区视频| 精品亚洲porn| 欧美成人精品福利| 蜜臀av性久久久久蜜臀av麻豆| 欧美精品一卡二卡| 婷婷六月综合网| 91麻豆精品国产无毒不卡在线观看| 亚洲一区二区三区四区五区黄| 91丨九色porny丨蝌蚪| 18成人在线视频| 日本道色综合久久| 亚洲国产精品影院| 欧美一区二区私人影院日本| 首页欧美精品中文字幕| 7777精品伊人久久久大香线蕉超级流畅 | 成人欧美一区二区三区| 色综合色狠狠天天综合色| 亚洲精品亚洲人成人网| 一本色道久久综合精品竹菊| 伊人开心综合网| 欧美精品久久99| 久久99久国产精品黄毛片色诱| 久久综合久久综合久久| 高清免费成人av| 亚洲欧美另类久久久精品| 欧洲一区二区三区免费视频| 亚瑟在线精品视频| 欧美一二三区精品| 国产成人精品免费网站| 成人免费一区二区三区视频| 色av成人天堂桃色av| 日本午夜一区二区| 国产情人综合久久777777| 色综合激情五月| 丝袜国产日韩另类美女| 久久婷婷成人综合色| 99久久精品情趣| 日欧美一区二区| 国产欧美久久久精品影院| 91在线视频在线| 麻豆91小视频|