CEMETECH
Leading The Way To The Future
Login [Register]
Username:
Password:
Autologin:

Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 117 users online: 5 members, 81 guests and 31 bots.
Members: Ashbad, colophonicd, JamesV, ordelore.
Bots: VoilaBot (1), MSN/Bing (1), Magpie Crawler (3), VoilaBot (4), Googlebot (19), Ask Jeeves (1), MSN/Bing (2).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
BranchMap v1.0
Published by KermMartian on October 7, 2009 at 2:39:35 AM CST | Discuss this article (16)

A month of planning and coding between other projects has brought BranchMap v1.0 to completion. Written entirely in Python, and tested on Linux and Windows, this program allows you to generate postscript or PDF files containing a summary and semi-graphical overview of z80 ASM code. I intended this project as a way to trace program flow without staring at thousands of lines of z80 code for hours. It can do all of the following and more:

:: Displays all files, labels, and jumps in source file(s)
:: Optionally track and displays calls and bcalls
:: Tracks and tries to determine stack depth of all instructions. Looks for unreachable blocks.
:: Finds and warns of dangerous stack manipulation, such as returning from a call with the stack pointer misset.
:: Displays easy-to-read color-coded cross-file call/jump references
:: Can optionally graphically track intra-routine stack manipulation
:: Easy-to-use PS/PDF output files

I've used it pretty thoroughly, testing everything from simple contrived source to Invalid Tangram to the monstrous behemoth that is Doors CS 7-in-progress. Doors CS has the most strange and tricky code, and hence had the most strange interpretations of nonstandard code, but even within the 108-page summary it produced there was a ton of useful information that I will be using to help me develop and debug faster, including 14 stack manipulation warnings.

BranchMap v1.0 (Direct Download)

Edit: BranchMap v1.0 has been featured on ticalc.org, the flagship community website. Thanks for everyone's positive comments there.




Permalink
2009 Articles
January 2009 January 2009 [Back to News Archives Index]

» File Updates Added to Archives published January 10, 2009 by KermMartian
» Cemetech Contest #6 published January 12, 2009 by KermMartian
» DHCPgen Beta 1 Released published January 18, 2009 by KermMartian

February 2009 February 2009 [Back to News Archives Index]

» Contest #6 Deadline Reminder published February 14, 2009 by KermMartian
» DHCPgen v1.0 published February 27, 2009 by KermMartian

March 2009 March 2009 [Back to News Archives Index]

» Happy Pi Day published March 14, 2009 by noahbaby94
» Promotions, 3m Words, 7th Anniversary published March 26, 2009 by KermMartian

April 2009 April 2009 [Back to News Archives Index]

» Simms AI vs. Turing Test: 2/3 Say 'Human' published April 1, 2009 by KermMartian
» Contest #6 [Utility] Results! published April 10, 2009 by KermMartian
» Simms AI v1 Technical Report published April 13, 2009 by KermMartian

May 2009 May 2009 [Back to News Archives Index]

» Multichord Musical Instrument published May 10, 2009 by KermMartian
» CPRR1 Technical Report published May 17, 2009 by KermMartian

June 2009 June 2009 [Back to News Archives Index]

» College Graduation; #11 of All Time published June 18, 2009 by KermMartian

July 2009 July 2009 [Back to News Archives Index]

» Doors CS Wiki Back Online published July 14, 2009 by KermMartian
» Photos Module Upgrades published July 17, 2009 by KermMartian
» Doors CS 7 Development Underway published July 25, 2009 by KermMartian

August 2009 August 2009 [Back to News Archives Index]

» Site Downtime published August 3, 2009 by KermMartian

September 2009 September 2009 [Back to News Archives Index]

» One Thousand Users; More Numbers! published September 5, 2009 by KermMartian
» TBG/Freebuild: Status Update published September 7, 2009 by KermMartian
» [Idea] Calculator Laptop published September 11, 2009 by KermMartian
» BranchMap Beta 1 published September 17, 2009 by KermMartian

October 2009 October 2009 [Back to News Archives Index]

» BranchMap v1.0 published October 7, 2009 by KermMartian
» TI, the DMCA, and the Calculator Programming Community published October 30, 2009 by KermMartian

December 2009 December 2009 [Back to News Archives Index]

» SaxJax IRC Linker Back Online published December 9, 2009 by KermMartian
» Forum Category Changes published December 28, 2009 by KermMartian


© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.020547 seconds.