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

Subversion Repositories copyblaze

[/] [copyblaze/] [trunk/] [copyblaze/] [sw/] [code/] [pbcc/] [intr/] [intr.c] - Blame information for rev 54

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 54 ameziti
// test of inserted asm code into C code
2
int i;
3
 
4
void ihandler() __interrupt (3) __using (7)
5
{
6
        _asm
7
                DISALBE INTERRUPT
8
        _endasm;
9
}
10
 
11
int main(int x, int y)
12
{
13
_asm
14
INPUT s0
15
_endasm;
16
i = 10;
17
return i;
18
}

powered by: WebSVN 2.1.0

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