News:

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

New code trouble

Started by etow, January 23, 2008, 02:25:56 PM

Previous topic - Next topic

jj2007

Quote from: etow on January 25, 2008, 03:19:48 PM
    Lea Eax, PrimeFactorBuffer
    Mov PrimeFactor, Eax
That was ok.
Quote
    Mov PrimeFactor, " "
That is less ok. Please read a tutorial on how strings are being allocated in MASM. What you do is assign a value of 32 to a pointer; so your string starts at address 20h - not a good basis fora successful execution.