Page 1 of 1

How many lines have I used?

Posted: Wed Apr 28, 2010 11:25 am
by livingston
Is there any simple way in SpinASM to show how many operations my code uses? It would be nice for budgeting code space.

Posted: Wed Apr 28, 2010 11:42 am
by frank
Not directly, the editor doesn't know which lines are code and which are comments.

The way I do it is by pressing the "A" icon to assemble it then the "m:" with an underline icon to look at the machine code. The instruction address in the left column addresses only instructions so labels do not increase the address and comments are stripped out.

Posted: Wed Apr 28, 2010 11:47 am
by livingston
That works. :D Thanks.