Changeset 75248 in vbox
- Timestamp:
- Nov 5, 2018 10:35:20 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/Devices/BiosCommonCode/__U4D.asm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/BiosCommonCode/__U4D.asm
r69120 r75248 72 72 .8086 73 73 else 74 ; 75 ; If the divisor is only 16-bit, use a fast path 76 ; 77 test cx, cx 78 jnz do_it_the_hard_way 79 80 div bx ; dx:ax / bx -> ax=quotient, dx=remainder 74 81 82 mov bx, dx ; remainder in cx:bx, and we know cx=0 83 84 xor dx, dx ; quotient in dx:ax, dx must be zero 85 86 popf 87 ret 88 89 do_it_the_hard_way: 75 90 ; Call C function do this. 76 91 push ds
Note:
See TracChangeset
for help on using the changeset viewer.

