1 #### Test shift actions
11 string "shl 13 7: %d\n\x00"
15 string "shl 150 6: %d\n\x00"
19 string "asr 150 4: %d\n\x00"
23 string "asr 170 2: %d\n\x00"
27 string "asr -150 4: %d\n\x00"
30 format_bsr_m150_4_positive:
31 string "bsr -150 4: positive\n\x00"
34 format_bsr_m150_4_negative:
35 string "bsr -150 4: negative\n\x00"
39 string "asr -85 3: %d\n\x00"
42 format_bsr_m85_3_positive:
43 string "bsr -85 3: positive\n\x00"
46 format_bsr_m85_3_negative:
47 string "bsr -85 3: negative\n\x00"
51 string "not equal %d != %d != %d\n\x00"
64 call printf format_asr_150_4 x
68 call printf format_asr_170_2 x
71 call printf format_asr_m150_4 y
75 call printf format_bsr_m150_4_negative
77 call printf format_bsr_m150_4_positive
87 call printf not_equal x y z
93 call printf format_asr_m85_3 y
98 call printf format_bsr_m85_3_negative
100 call printf format_bsr_m85_3_positive
111 call printf not_equal x y z
116 call printf format_shl_13_7 x
120 call printf format_shl_150_6 x