Rev 206 | Rev 501 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 206 | Rev 252 | ||
---|---|---|---|
Line 34... | Line 34... | ||
34 | 34 | ||
35 | .global asm_delay_loop |
35 | .global asm_delay_loop |
36 | .global asm_fake_loop |
36 | .global asm_fake_loop |
37 | 37 | ||
38 | asm_delay_loop: |
38 | asm_delay_loop: |
39 | 0: lahf |
- | |
40 | dec %edi |
39 | 0: dec %rdi |
41 | jnz 0b |
40 | jnz 0b |
42 | ret |
41 | ret |
43 | 42 | ||
44 | asm_fake_loop: |
43 | asm_fake_loop: |
45 | 0: lahf |
- | |
46 | dec %edi |
44 | 0: dec %rdi |
47 | jz 0b |
45 | jz 0b |
48 | ret |
46 | ret |