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

Subversion Repositories copyblaze

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 54 ameziti
// test bitových operací - problem with NOT_OP (pBlazeIDE)
2
 
3
/* link the C libarary */
4
 
5
//#pragma library c
6
 
7
void main()
8
{
9
  volatile char c = 1;
10
  c = !c;
11
  c = 0;
12
  c = !c;
13
  c = c && c;
14
  c = c || c;
15
  c = 29;
16
  c = c % 13;
17
}

powered by: WebSVN 2.1.0

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