Changeset 420 in xtideuniversalbios for trunk/Assembly_Library


Ignore:
Timestamp:
May 9, 2012, 7:10:14 PM (13 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to Assembly Library:

  • Changed division function to be included in XTIDE Universal BIOS.
Location:
trunk/Assembly_Library
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Inc/Emulate.inc

    r396 r420  
    447447        times %2    %3      %1, 1
    448448    %else
    449 ;       %if %2 > 7  ; Original value
    450449        %if %2 > 3  ; Size optimized value
    451450            push    cx
     
    462461%endif
    463462%endmacro
     463
    464464%macro eSHR_IM 2
    465465    eSHIFT_IM   %1, %2, shr
  • trunk/Assembly_Library/Src/Util/Math.asm

    r376 r420  
    3333;       AX
    3434;--------------------------------------------------------------------
    35 %ifndef EXCLUDE_FROM_XTIDECFG   ; Not used in XTIDECFG
     35%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS OR EXCLUDE_FROM_XTIDECFG
    3636ALIGN JUMP_ALIGN
    3737Math_DivQWatSSBPbyCX:
     
    6767;       Nothing
    6868;--------------------------------------------------------------------
    69 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS OR EXCLUDE_FROM_XTIDECFG
     69%ifndef EXCLUDE_FROM_XTIDECFG
    7070ALIGN JUMP_ALIGN
    71 Math_DivDXAXbyCX:   ; This is currently unused (dead code)
     71Math_DivDXAXbyCX:
    7272    xor     bx, bx
    7373    xchg    bx, ax
Note: See TracChangeset for help on using the changeset viewer.