Changeset 18


Ignore:
Timestamp:
Sep 18, 2010, 8:07:06 AM (15 years ago)
Author:
markus
Message:

merged I4M and U4M

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/init.asm

    r16 r18  
    353353; taken from OS/2 Uniaud project, original author: Timur Tabi
    354354__U4M           proc    near
     355__I4M           label   near
    355356                shl     edx,10h            ;; Load dx:ax into eax
    356357                mov     dx,ax
     
    365366__U4M           endp
    366367
    367 __I4M           proc    near
    368                 shl     edx,10h            ;; Load dx:ax into eax
    369                 mov     dx,ax
    370                 mov     eax,edx
    371                 mov     dx,cx              ;; Load cx:bx into edx
    372                 shl     edx,10h
    373                 mov     dx,bx
    374                 mul     edx                ;; Multiply eax*edx into edx:eax
    375                 mov     edx,eax            ;; Load eax into dx:ax
    376                 shr     edx,10h
    377                 ret
    378 __I4M           endp
    379                
    380368
    381369; Signed long divide routine;
Note: See TracChangeset for help on using the changeset viewer.