Changeset 145 in xtideuniversalbios for trunk/Assembly_Library/Src/String


Ignore:
Timestamp:
Mar 15, 2011, 11:28:17 AM (14 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Minor size optimizations to all parts of the project (even the old Configurator).
Also added a new 'release' option to the makefiles of both versions of the Configurator. It invokes UPX and makes the Configurator programs ridiculously tiny.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Src/String/Char.asm

    r41 r145  
    116116    cmp     al, '9'                 ; Decimal digit
    117117    jbe     SHORT .ConvertToDecimalDigit
    118     sub     al, 'a'-10              ; Convert to hexadecimal integer
    119     stc
    120     ret
     118    sub     al, 'a'-'0'-10          ; Convert to hexadecimal integer
    121119ALIGN JUMP_ALIGN
    122120.ConvertToDecimalDigit:
Note: See TracChangeset for help on using the changeset viewer.