Text only
|
Text with Images
The MASM Forum Archive 2004 to 2012
General Forums => The Campus => Topic started by: ofg on December 22, 2004, 11:27:31 PM
Title:
Numeral Text as Integer
Post by:
ofg
on
December 22, 2004, 11:27:31 PM
hi,
Text db "123",0
Int dd 0
I want to move 123 as an integer into Int . How?
thanks
Title:
Re: Numeral Text as Integer
Post by:
hutch--
on
December 22, 2004, 11:35:16 PM
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.
Text only
|
Text with Images