Changeset 445 in xtideuniversalbios for trunk/Configurator/Src
- Timestamp:
- Aug 29, 2012, 12:59:23 PM (12 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Configurator/Src/Libraries/math.asm
r181 r445 104 104 push bx 105 105 mov bx, dx ; Copy hiword to BX 106 xor dx, dx ; Zero DX for multiplication107 106 mul cx ; DX:AX = AX (loword) * CX (multiplier) 108 107 push dx ; Push possible overflow 109 108 xchg ax, bx ; => AX=old hiword, BX=new loword 110 xor dx, dx ; Zero DX for division111 109 mul cx ; DX:AX = AX (hiword) * CX (multiplier) 112 110 pop dx ; Pop possible overflow from first mul
Note:
See TracChangeset
for help on using the changeset viewer.