OpenCores
URL https://opencores.org/ocsvn/copyblaze/copyblaze/trunk

Subversion Repositories copyblaze

[/] [copyblaze/] [trunk/] [copyblaze/] [sw/] [code/] [pbcc/] [test6/] [test6.c] - Rev 53

Compare with Previous | Blame | View Log

// interrupt handler test for pBlazeIDE
 
char  __xdata val = 0;
char  __xdata c;
 
void interruptHandler() __interrupt
{
	val++;		
}
 
void main()
{
	c = 0;
	__asm
		EINT
	__endasm;
 
	for (;;) {
 
		c += 4;
	}
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.