cmp1.ssa (244B)
1 # test cmp used in jnz as well as its result value 2 3 export 4 function w $test(w %c) { 5 @start 6 %cmp =w cultw 1, %c 7 jnz %cmp, @yes, @no 8 @yes 9 %cmp =w copy 1 10 @no 11 ret %cmp 12 } 13 14 # >>> driver 15 # int test(int); 16 # int main(void) { return test(0); } 17 # <<<