摘要:
最近在弄这个,都是sparc体系结构和汇编,用的是loeon3,grip等ip核,基于sparc体系结构。贴一点uart验证的代码,很简单的sparc汇编。/* * apb_uart.S * * Created on: 2011-7-19 * Author: xiaoyang */#include "fpga.h"#include "apb_uart.h".text.align 4.globl test_uart0!length of test string#define STR_LEN 8test_uart0: save %sp, -128, %sp 阅读全文
posted @ 2011-07-23 17:11 晓彻 阅读(333) 评论(0) 推荐(0) 编辑