home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / dos_ency / section5 / fxn63h.asm < prev    next >
Encoding:
Assembly Source File  |  1988-08-11  |  977 b   |  19 lines

  1.         ;************************************************************;
  2.         ;                                                            ;
  3.         ;   Function 63H: Get Lead Byte Table                        ;
  4.         ;                                                            ;
  5.         ;   char far *get_lead_byte_table()                          ;
  6.         ;                                                            ;
  7.         ;   Returns far pointer to table of lead bytes for multibyte ;
  8.         ;   characters.  Will work only in MS-DOS 2.25!              ;
  9.         ;                                                            ;
  10.         ;************************************************************;
  11.  
  12. cProc   get_lead_byte_table,PUBLIC,<ds,si>
  13. cBegin
  14.         mov     ax,6300h        ; Set function code.
  15.         int     21h             ; Get lead byte table.
  16.         mov     dx,ds           ; Return far pointer in DX:AX.
  17.         mov     ax,si
  18. cEnd
  19.