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

Subversion Repositories copyblaze

[/] [copyblaze/] [trunk/] [copyblaze/] [sw/] [code/] [pbcc/] [test6/] [test6.c] - Blame information for rev 55

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 53 ameziti
// interrupt handler test for pBlazeIDE
2
 
3
char  __xdata val = 0;
4
char  __xdata c;
5
 
6
void interruptHandler() __interrupt
7
{
8
        val++;
9
}
10
 
11
void main()
12
{
13
        c = 0;
14
        __asm
15
                EINT
16
        __endasm;
17
 
18
        for (;;) {
19
 
20
                c += 4;
21
        }
22
}

powered by: WebSVN 2.1.0

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