📄 main.asm
字号:
/***********************************************************************
Sports 3 is configured as a reciever and Sports 1 as tranmitter.
Data transmitted from Sports 1 is recieved by sports 3.
**********************************************************************/
#include "UART_Driver.h"
#define TX_BUFFER_OVERFLOW 0xff
//#include<def21262.h>
.extern InitSRU;
.extern _Setup_UART;
.extern _UartTx_Word;
.extern _UART_Error;
.global _main;
.section/pm seg_pmco;
_main:
call InitSRU;
call _Setup_UART;
r0=0x0001;
loop1:
jump (pc,0);
_main.end:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -