URL
https://opencores.org/ocsvn/copyblaze/copyblaze/trunk
Subversion Repositories copyblaze
[/] [copyblaze/] [trunk/] [copyblaze/] [sw/] [code/] [pbcc/] [test7/] [test7.c] - Rev 67
Go to most recent revision | Compare with Previous | Blame | View Log
// test bitových operací všeho druhu (pBlazeIDE) void main() { volatile unsigned char c = 1; volatile unsigned char d = 1; volatile unsigned char e = 15; c <<= 4; c >>= 3; c |= c; c |= d + 1; c = c & d; d = ~e; e = c ^ d; c = !c && d || e; c = c || e; if (!c) { c = -e; } }
Go to most recent revision | Compare with Previous | Blame | View Log