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

Subversion Repositories copyblaze

[/] [copyblaze/] [trunk/] [copyblaze/] [sw/] [code/] [pbcc/] [intr/] [intr.c] - Rev 54

Compare with Previous | Blame | View Log

// test of inserted asm code into C code
int i;
 
void ihandler() __interrupt (3) __using (7)
{
	_asm
		DISALBE INTERRUPT
	_endasm;
}
 
int main(int x, int y)
{
_asm
INPUT s0
_endasm;
i = 10;
return i;
}

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.