1#include"io.h"
2
3int main(void)
4{
5 long long rd, rt;
6 long long result;
7
8 rt = 0x12345678;
9 result = 0x009102B3;
10
11 __asm
12 ("shrl.ph %0, %1, 0x05\n\t"
13 : "=r"(rd)
14 : "r"(rt)
15 );
16 if (rd != result) {
17 printf("shrl.ph error!\n");
18 return -1;
19 }
20
21 return 0;
22}
23