📄 dbout.c.bak
字号:
#define DBOUT *(int *)0xB00000
cregister unsigned int IOF,IE,IF,ST;
void interrupt int1(void);
main()
{
int i;
int buf;
/*IE=0x2;
IF=0;
ST=0x2000;
INT1 = (int )int1|0x60000000;*/
buf=DBOUT;
asm(" NOP");
DBOUT =0x0000;
asm(" NOP");
asm(" NOP");
asm(" NOP");
asm(" NOP");
for(;;)
{
DBOUT =0xFFFF;
asm(" NOP");
asm(" NOP");
asm(" NOP");
asm(" NOP");
buf=DBOUT;
asm(" NOP");
asm(" NOP");
asm(" NOP");
DBOUT =0x0000;
asm(" NOP");
asm(" NOP");
asm(" NOP");
buf=DBOUT;
asm(" NOP");
asm(" NOP");
asm(" NOP");
}
}
/*void interrupt int1(void)
{
int i;
i=0;
i++;
} */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -