Rev 6380 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6380 | Rev 6386 | ||
---|---|---|---|
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 12... | Line -... | ||
12 | BITS 32 |
- | |
13 | - | ||
14 | SECTION .text ALIGN=16 |
12 | BITS 32 |
15 | 13 | ||
- | 14 | GLOBAL _ConvertX86 |
|
16 | GLOBAL _ConvertX86 |
15 | GLOBAL _x86return |
Line -... | Line 16... | ||
- | 16 | ||
- | 17 | GLOBAL _Hermes_X86_CPU |
|
- | 18 | ||
- | 19 | ||
- | 20 | SECTION .data |
|
- | 21 | ||
- | 22 | cpu_flags dd 0 |
|
- | 23 | ||
17 | GLOBAL _x86return |
24 | |
18 | GLOBAL _Hermes_X86_CPU |
25 | SECTION .text |
19 | 26 | ||
20 | ;; _ConvertX86: |
27 | ;; _ConvertX86: |
21 | ;; [ESP+8] ConverterInfo* |
28 | ;; [ESP+8] ConverterInfo* |
Line 115... | Line 122... | ||
115 | mov eax,[cpu_flags] |
122 | mov eax,[cpu_flags] |
Line 116... | Line 123... | ||
116 | 123 | ||
117 | .L1: |
124 | .L1: |
118 | xor eax,eax |
125 | xor eax,eax |
119 | ret |
- | |
120 | - | ||
121 | section '.DATA' ALIGN=16 |
- | |
122 | - | ||
123 | cpu_flags dd 0 |
- |