flat assembler
Message board for the users of flat assembler.

Index > Windows > See data in register or memory

Author
Thread Post new topic Reply to topic
Allo10



Joined: 05 Dec 2010
Posts: 1
Location: Russia
Allo10 05 Dec 2010, 21:13
I'm beginner. My FASM code made the data processing. But I can't see data processing result by working code program step by step or in the end of working in register or memory. My ask: whether any FASM or Windows environment command (s) for this cases (for debugging etc.)?
Many thanks for answer.
Post 05 Dec 2010, 21:13
View user's profile Send private message Reply with quote
baldr



Joined: 19 Mar 2008
Posts: 1651
baldr 05 Dec 2010, 21:48
Allo10,

There are none (unless you write them). Use proper tools (e.g. debugger).
Post 05 Dec 2010, 21:48
View user's profile Send private message Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2139
Location: Estonia
Madis731 06 Dec 2010, 07:08
In Windows the simplest debugging is to output some strings to MessageBox. When you need one digit, you can just output a character 0x30+number. 6 would become 0x36.

With register or memory you need to use a debugger.
Post 06 Dec 2010, 07:08
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4353
Location: Now
edfed 07 Dec 2010, 19:13
not only underwindows.

any platform that lets you display strings can be used for the main program, and debug.

there are many games that have a debug mode, a mode that displays some datas, and let you play with, instead of moving sonic, jump, etc, you can select gravity, item, etc.

see "sonic 3 & sonics & knuckles debug mode" in youtube for more ideas.
Post 07 Dec 2010, 19:13
View user's profile Send private message Visit poster's website Reply with quote
baldr



Joined: 19 Mar 2008
Posts: 1651
baldr 09 Dec 2010, 21:10
Allo10,

Are you familiar with C formatted I/O? MSVCRT.DLL can give you printf(), along with other (you aren't afraid of console, are you? Wink).
Post 09 Dec 2010, 21:10
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.