source: proto/s2k/trunk/framework/input/test/s2k/statements/assign/assign2.s2k @ 3762

Last change on this file since 3762 was 3762, checked in by ksherdy, 4 years ago

Removed void return type on s2k stream filters / b2k kernel functions.

File size: 338 bytes
Line 
1function BasicExpressions() {
2
3        temp4 = temp;
4        temp4 = temp1 | temp2;
5        temp4 = temp1 ^ temp2;
6        temp4 = temp1 & temp2;
7        temp4 = temp1 ^ temp2 | temp3;
8        temp4 = temp1 | temp2 ^ temp3;
9        temp4 = temp1 & temp2 | temp3;
10        temp4 = temp1 | temp2 & temp3;
11        temp4 = temp1 & (temp2 | temp3);
12        temp4 = (temp1 | temp2) & temp3;
13//      temp4 = ~temp;
14       
15};
16
Note: See TracBrowser for help on using the repository browser.