Rev 5131 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5131 | Rev 6380 | ||
---|---|---|---|
Line 9... | Line 9... | ||
9 | ; Most routines are (c) Glenn Fiedler (ptc@gaffer.org), used with permission |
9 | ; Most routines are (c) Glenn Fiedler (ptc@gaffer.org), used with permission |
10 | ; |
10 | ; |
Line 11... | Line 11... | ||
11 | 11 | ||
Line -... | Line 12... | ||
- | 12 | BITS 32 |
|
- | 13 | ||
12 | BITS 32 |
14 | SECTION .text ALIGN=16 |
13 | 15 | ||
14 | GLOBAL _ConvertX86 |
- | |
15 | GLOBAL _x86return |
16 | GLOBAL _ConvertX86 |
Line 16... | Line -... | ||
16 | - | ||
17 | GLOBAL _Hermes_X86_CPU |
- | |
18 | - | ||
19 | - | ||
20 | SECTION .data |
- | |
21 | - | ||
22 | cpu_flags dd 0 |
- | |
23 | - | ||
24 | 17 | GLOBAL _x86return |
|
25 | SECTION .text |
18 | GLOBAL _Hermes_X86_CPU |
26 | 19 | ||
27 | ;; _ConvertX86: |
20 | ;; _ConvertX86: |
28 | ;; [ESP+8] ConverterInfo* |
21 | ;; [ESP+8] ConverterInfo* |
Line 122... | Line 115... | ||
122 | mov eax,[cpu_flags] |
115 | mov eax,[cpu_flags] |
Line 123... | Line 116... | ||
123 | 116 | ||
124 | .L1: |
117 | .L1: |
125 | xor eax,eax |
118 | xor eax,eax |
- | 119 | ret |
|
- | 120 | ||
- | 121 | section '.DATA' ALIGN=16 |
|
- | 122 | ||
- | 123 | cpu_flags dd 0 |