VirtualBox

Changeset 1172 in vbox for trunk/src/VBox/Runtime/string


Ignore:
Timestamp:
Mar 3, 2007 11:38:13 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
19088
Message:

shr not shl (x86). Added missing BEGINCODE.

Location:
trunk/src/VBox/Runtime/string
Files:
2 edited

Legend:

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

    r3 r1172  
    2121
    2222%include "iprt/asmdefs.mac"
     23
     24BEGINCODE
    2325
    2426;;
     
    5355        mov     edx, ecx
    5456        mov     eax, edi                ; save the return value
    55         shl     ecx, 2
     57        shr     ecx, 2
    5658        rep movsd
    5759%endif
  • trunk/src/VBox/Runtime/string/mempcpy.asm

    r3 r1172  
    2121
    2222%include "iprt/asmdefs.mac"
     23
     24BEGINCODE
    2325
    2426;;
     
    5153        mov     esi, [esp + 08h + 4]
    5254        mov     edx, ecx
    53         shl     ecx, 2
     55        shr     ecx, 2
    5456        rep movsd
    5557%endif
Note: See TracChangeset for help on using the changeset viewer.

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