Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1665 | Nasarus | 1 | |
2 | { |
||
3 | unsigned a, b, c, d; |
||
4 | char str[13]; |
||
5 | |||
6 | |||
7 | |||
8 | |||
9 | "=a" (a), |
||
10 | "=b" (b), |
||
11 | "=c" (c), |
||
12 | "=d" (d): |
||
13 | "a"(0)); |
||
14 | |||
15 | |||
16 | str[1] = (b&0x0000ff00) >> 8; |
||
17 | str[2] = (b&0x00ff0000) >> 16; |
||
18 | str[3] = (b&0xff000000) >> 24; |
||
19 | |||
20 | |||
21 | str[5] = (d&0x0000ff00) >> 8; |
||
22 | str[6] = (d&0x00ff0000) >> 16; |
||
23 | str[7] = (d&0xff000000) >> 24; |
||
24 | |||
25 | |||
26 | str[9] = (c&0x0000ff00) >> 8; |
||
27 | str[10] = (c&0x00ff0000) >> 16; |
||
28 | str[11] = (c&0xff000000) >> 24; |
||
29 | |||
30 | |||
31 | return TRUE; |
||
32 | } |
||
33 |