(SOLVED) Problem Writing to Stack (TOSL)


Joined Jul 1, 2009
I see many examples of source in this, but did you ever look at the object code or dissassembly, to compare what got assembled to what you wrote? Just an observation.

Thread Starter


Joined Jan 18, 2008
More the rule than the exception, I look at the disassembly listing while debugging. Since I write in Assembly, there is usually a 1:1 correspondence (minor exceptions are assembler directives and macros). The disassembly listing lets me track changes in the high addresses.

The original problem was simply my oversight to not increment before a branch. That problem was solved easily once I woke up. The rest of the source code listings in this thread are all working snippets and are mostly refinements.