1 #include "gpsim_assert.h"
2 // Shift bytes left and right by a constant.
4 unsigned char failures=0;
9 signed char achar0 = 0;
10 signed char achar1 = 0;
11 signed char achar2 = 0;
16 ASSERT(MANGLE(failures) == 0);
26 void shift_left_1(void)
34 void shift_left_2(void)
44 void shift_left_3(void)
53 void shift_left_4(void)
62 void shift_left_5(void)
71 void shift_left_6(void)
80 void shift_left_7(void)
89 void shift_right_1(void)
97 void shift_right_2(void)
105 void shift_right_3(void)
113 void shift_right_4(void)
121 void shift_right_5(void)
129 void shift_right_6(void)
137 void shift_right_7(void)
149 // call with both values zero
154 for(achar2=0; achar2<6; achar2++) {