projects
/
fw
/
sdcc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* Fixed svn:eol-style and svn:keywords properties
[fw/sdcc]
/
sim
/
ucsim
/
s51.src
/
test_extit.c
1
#include <reg51.h>
2
3
sfr at 0xa6 WDTRST;
4
5
void jaj() interrupt 0 { P2= P0; P0++; }
6
7
void main()
8
{
9
IT0=0; /* low level triggered */
10
IT0=1; /* falling edge triggered */
11
EX0=1; /* enable ex #0 */
12
EA=1;
13
P0=0;
14
for(;;);
15
}