source:
trunk/minix/lib/ack/float/ngf8.s@
12
| Last change on this file since 12 was 9, checked in by , 14 years ago | |
|---|---|
| File size: 245 bytes | |
| Line | |
|---|---|
| 1 | .sect .text; .sect .rom; .sect .data; .sect .bss |
| 2 | .extern .ngf8 |
| 3 | .sect .text |
| 4 | .ngf8: |
| 5 | push ebp |
| 6 | mov ebp,esp |
| 7 | push esi |
| 8 | cmp 8(ebp),0 |
| 9 | jne I1_3 |
| 10 | cmp 12(ebp),0 |
| 11 | je I1_1 |
| 12 | I1_3: |
| 13 | lea esi,15(ebp) |
| 14 | movzxb edx,(esi) |
| 15 | xor edx,128 |
| 16 | movb (esi),dl |
| 17 | I1_1: |
| 18 | pop esi |
| 19 | leave |
| 20 | ret |
Note:
See TracBrowser
for help on using the repository browser.