flat assembler
Message board for the users of flat assembler.

Index > Tutorials and Examples > sandbox code testing

Author
Thread Post new topic Reply to topic
greco558



Joined: 21 Jul 2016
Posts: 35
greco558
Hi All,

I just started to try 64bit programming in Linux so I changed my sandbox32.asm program from 32bit to 64bit and the showit32.asm program from 32bit to 64bit.

The program does not do much but dump memory locations, registers, flags and
stack.

Registers show in both Hex and Binary, memory will show in hex and ascii, and
stack shows in hex.

I use the sandbox and showit program to try out pieces of code to see if they are
doing what I expect.

Feel free to change the program or use pieces of code in your own programs.


I have included both 32bit and 64bit versions

Removed programs found bug in showit.asm, flags change when dumping registers,
fixing both 32 and 64bit programs will repost tomorrow Aug. 17

Did some testing I think everything is working properly now.

Here is updated programs.

Best Regards
John
Post 14 Aug 2020, 18:53
View user's profile Send private message Reply with quote
greco558



Joined: 21 Jul 2016
Posts: 35
greco558
Changed the why stack is displayed now it goes lowest to highest address, also fixed bug in registers dump with esp not displaying correct address.




Best Regards
John


Description:
Download
Filename: 2020-08-28-sandbox.tar.gz
Filesize: 7.86 KB
Downloaded: 18 Time(s)

Post 28 Aug 2020, 14:42
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-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.