1 /* Test power of 2 based shifts.
9 volatile {sign} int left;
12 ASSERT(left * 1024 == 4096);
13 ASSERT(left * 2048 == 8192);
14 ASSERT(left * 256 == 1024);
15 ASSERT(left * 64 == 256);
18 ASSERT(left / 1024 == 4);
19 ASSERT(left / 2048 == 2);
20 ASSERT(left / 256 == 16);
21 ASSERT(left / 4 == 1024);