News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

A couple of unicode conversion macros.

Started by hutch--, April 21, 2011, 12:48:48 AM

Previous topic - Next topic

hutch--

I thought someone may like these, I neded them for the unicode editor i am working on. I prepended "vc" to the macro names so that the names itow and ltow remained available.


    vcltow MACRO number
      LOCAL buffer
      .data?
        align 4
        buffer dw 36 dup (?)
      .code
      invoke crt__ltow,number,ADDR buffer,10
      EXITM <eax>
    ENDM

    vcitow MACRO number
      LOCAL buffer
      .data?
        align 4
        buffer dw 36 dup (?)
      .code
      invoke crt__itow,number,ADDR buffer,10
      EXITM <eax>
    ENDM
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php