News:

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

Numeral Text as Integer

Started by ofg, December 22, 2004, 11:27:31 PM

Previous topic - Next topic

ofg

hi,
         Text    db    "123",0
         Int      dd       0

   I want to move   123   as an integer  into   Int . How?
   
   thanks

hutch--

If this is 32 bit code, use the conversions in the MASM32 library to convert the string to a DWORD and place the result in your variable Int.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php