- Timestamp:
- Apr 7, 2016 2:57:48 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-MemZero.asm
r58720 r60366 51 51 push bp 52 52 mov bp, sp 53 push edi53 push di 54 54 push es 55 55 … … 58 58 mov es, dx 59 59 mov cx, [bp + 4 + 4] ; cbDst 60 shr cx, 2; calc dword count.61 xor eax, eax62 rep stos d60 shr cx, 1 ; calc dword count. 61 xor ax, ax 62 rep stosw 63 63 64 64 mov cx, [bp + 4 + 4] ; cbDst 65 and cx, 3; calc tailing byte count.65 and cx, 1 ; calc tailing byte count. 66 66 rep stosb 67 67 68 68 pop es 69 pop edi70 leave69 pop di 70 pop bp 71 71 ret 72 72
Note:
See TracChangeset
for help on using the changeset viewer.