Changeset 145 in xtideuniversalbios for trunk/Assembly_Library/Src


Ignore:
Timestamp:
Mar 15, 2011, 11:28:17 AM (13 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.

Location:
trunk/Assembly_Library/Src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Src/Keyboard/Keyboard.asm

    r133 r145  
    159159    je      SHORT .Backspace
    160160    jcxz    .RejectCharacter
    161     test    al, al                              ; Clear ZF and CF
     161    clc                                         ; Clear CF (ZF is already cleared)
    162162    ret
    163163
  • 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.