Commit | Line | Data |
---|---|---|
c4a530c5 JB |
1 | .text |
2 | ||
3 | _start: | |
4 | movl (%cr0), %eax | |
5 | movl %eax, (%cr7) | |
6 | movl (%cr8), %eax | |
7 | movl %eax, (%cr15) | |
8 | movl (%db0), %eax | |
9 | movl %eax, (%db7) | |
10 | movl (%dr0), %eax | |
11 | movl %eax, (%dr7) | |
12 | movl (%tr0), %eax | |
13 | movl %eax, (%tr7) | |
14 | ||
15 | .att_syntax noprefix | |
16 | movl (cr0), eax | |
17 | movl eax, (cr7) | |
18 | movl (cr8), eax | |
19 | movl eax, (cr15) | |
20 | movl (db0), eax | |
21 | movl eax, (db7) | |
22 | movl (dr0), eax | |
23 | movl eax, (dr7) | |
24 | movl (tr0), eax | |
25 | movl eax, (tr7) | |
26 | ||
27 | .intel_syntax noprefix | |
28 | mov eax, [cr0] | |
29 | mov [cr7], eax | |
30 | mov eax, [cr8] | |
31 | mov [cr15], eax | |
32 | mov eax, [dr0] | |
33 | mov [dr7], eax | |
34 | mov eax, [tr0] | |
35 | mov [tr7], eax |