News:

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

new need help

Started by satya, August 13, 2007, 10:32:23 AM

Previous topic - Next topic

satya

(1) Just downloaded  MASM. Tried viewing source code for a Tutorial Demo example. How to Single step run an Assembly code using MASM? The exe program just blinks and goes! 
(2) Is there any other thing to do ( after downlaoding MASM32 ) such as settings. Dont we have tutorials for beginners.
Regards to all. Kindly help. New to this wonderful jungle. :bg

BogdanOntanu

Quote from: satya on August 13, 2007, 10:32:23 AM
(1) Just downloaded  MASM.
Good start.
You have downloaded MASM or MASM32?

Quote
Tried viewing source code for a Tutorial Demo example.

I am confused about the word "tried".
You have tried and succeeded or tried and failed?

You should be able to see ASM source code in a text editor.
Alternatively you can use the Qeditor.exe from MASM32

MASM32 has a series of examples in C:\masm32\examples\exampl01 (assuming you have installed MASM32 into C: drive).
None of the examples "blinks and exits". In fact many examples will ask you to confirm exit by a mouse press on a button.

Quote
How to Single step run an Assembly code using MASM? The exe program just blinks and goes! 

This is slightly more complicated for a beginner but you can use OllyDbg debugger to single step ASM executables.

Ollydbg is not included in MASM32 but you can find it on the internet.

In order to view the source and single step into it you would need to build the examples with debug information.
Understanding and using Ollydbg is an additional problem for a beginner.

Quote
(2) Is there any other thing to do ( after downlaoding MASM32 ) such as settings. Dont we have tutorials for beginners.
Regards to all. Kindly help. New to this wonderful jungle. :bg

You do not have to do much settings. Just check the paths and learn how to use QEditor for a start. Later on you can use a bigger IDE like: RadASM or WinASM.

But for  a start MASM32 and Qeditor are enough.

There are tutorials on the web. For example check for Iczelion's tutorials. They will guide you step by step.
Other members of this board also have tutorials on their sites.

Just try to avoid DOS examples that use INT 21h , INT 13, INT10 and such stuff.

MASM32 is oriented towards modern Windows 32 bits ASM programming and setting up old 16 bits DOS examples is more complicated.

Study the examples folder in MASM32. Build them with Qeditor... then make your own small sampes and tests.
Learn the Win32 API ... explore and understand.
Ambition is a lame excuse for the ones not brave enough to be lazy.
http://www.oby.ro

satya

Thanks for the help. When I did Console Assembly and Link then the blinking part stopped. I can now begin. Thanks again . :U