VirtualBox

Changeset 1171 in vbox for trunk


Ignore:
Timestamp:
Mar 3, 2007 11:37:03 PM (18 years ago)
Author:
vboxsync
Message:

Fixed the return value. Added missing BEGINCODE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/string/memset.asm

    r3 r1171  
    2222%include "iprt/asmdefs.mac"
    2323
     24BEGINCODE
     25
    2426;;
    2527; @param    pvDst   gcc: rdi  msc: ecx  x86:[esp+4]
     
    3335  %error "Port me"
    3436 %else
     37        mov     r10, rdi                ; the return value.
    3538        movzx   eax, sil
    3639        cmp     rdx, 32
     
    5356        mov     rcx, rdx
    5457        rep stosb
     58
     59        mov     rax, rdi
    5560 %endif
    5661
     
    8085
    8186        pop     edi
     87        mov     eax, [esp + 4]
    8288%endif
    8389        ret
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette