main.c

来自「摩托罗拉处理器mpc855上的UCOS移植代码」· C语言 代码 · 共 23 行

C
23
字号
//////////////////////////
//	Project Stationery  //
//////////////////////////

#include <stdio.h>

asm void system_call()
{
	nofralloc
	sc
	blr
}

void main()
{
	printf("Welcome to CodeWarrior!\r\n");

	system_call(); // generate a system call exception to demonstrate the ISR
			
	while (1) {} // loop forever
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?