Changeset 60530 in vbox
- Timestamp:
- Apr 18, 2016 9:14:09 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/BiosCommonCode/__U4D.asm
r60484 r60530 5 5 6 6 ; 7 ; Copyright (C) 2012-201 5Oracle Corporation7 ; Copyright (C) 2012-2016 Oracle Corporation 8 8 ; 9 9 ; This file is part of VirtualBox Open Source Edition (OSE), as … … 81 81 ; 82 82 83 ; Set up a frame of sorts, allocating 8bytes for the result buffer.83 ; Set up a frame of sorts, allocating 4 bytes for the result buffer. 84 84 push bp 85 sub sp, 0 8h85 sub sp, 04h 86 86 mov bp, sp 87 87 … … 89 89 push ss 90 90 push bp 91 add bp, 0 8h ; Correct bp.91 add bp, 04h ; Correct bp. 92 92 93 93 ; The divisor. … … 101 101 call _DoUInt32Div 102 102 103 ; Load the rem inder.104 mov cx, [bp - 0 8h + 6]105 mov bx, [bp - 0 8h + 4]103 ; Load the remainder. 104 mov cx, [bp - 02h] 105 mov bx, [bp - 04h] 106 106 107 ; Load the quotient. 108 mov dx, [bp - 08h + 2] 109 mov ax, [bp - 08h] 107 ; The quotient is already in dx:ax 110 108 111 109 mov sp, bp
Note:
See TracChangeset
for help on using the changeset viewer.