Changeset 53 in xtideuniversalbios for trunk/Assembly_Library/Src/String/String.asm


Ignore:
Timestamp:
Oct 13, 2010, 6:34:39 PM (14 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to Assembly Library:
File Dialog is now compatible with new line splitting.

File:
1 edited

Legend:

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

    r52 r53  
    22; Project name  :   Assembly Library
    33; Created date  :   12.7.2010
    4 ; Last update   :   12.10.2010
     4; Last update   :   13.10.2010
    55; Author        :   Tomi Tilli
    66; Description   :   Functions for handling characters.
     
    88; Section containing code
    99SECTION .text
     10
     11;--------------------------------------------------------------------
     12; String_ConvertDSSItoLowerCase
     13;   Parameters:
     14;       DS:SI:  Ptr to string to convert
     15;   Returns:
     16;       CX:     Number of characters processed
     17;       SI:     Updated
     18;   Corrupts registers:
     19;       Nothing
     20;--------------------------------------------------------------------
     21ALIGN JUMP_ALIGN
     22String_ConvertDSSItoLowerCase:
     23    push    dx
     24    push    ax
     25
     26    mov     dx, StringProcess_ConvertToLowerCase
     27    call    StringProcess_DSSIwithFunctionInDX
     28
     29    pop     ax
     30    pop     dx
     31    ret
     32
    1033
    1134;--------------------------------------------------------------------
     
    1639;   Returns:
    1740;       AX:     Word converted from string
     41;       CX:     Number of characters processed
    1842;       SI:     Updated
    1943;       CF:     Cleared if successfull
     
    3862
    3963;--------------------------------------------------------------------
    40 ; String_CopyDSSItoESDIandGetSizeToCX
     64; String_CopyDSSItoESDIandGetLengthToCX
    4165;   Parameters:
    4266;       DS:SI:  Ptr to source NULL terminated string
     
    4973;--------------------------------------------------------------------
    5074ALIGN JUMP_ALIGN
    51 String_CopyDSSItoESDIandGetSizeToCX:
     75String_CopyDSSItoESDIandGetLengthToCX:
    5276    push    ax
    5377
Note: See TracChangeset for help on using the changeset viewer.