How many lines have I used?

Software questions and issues with the FV-1

Moderator: frank

Post Reply
livingston
Posts: 131
Joined: Sun Nov 15, 2009 3:37 pm
Location: New Orleans, LA US

How many lines have I used?

Post 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.
frank
Posts: 1244
Joined: Wed Oct 19, 2005 12:26 pm
Contact:

Post 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.
Frank Thomson
Experimental Noize
livingston
Posts: 131
Joined: Sun Nov 15, 2009 3:37 pm
Location: New Orleans, LA US

Post by livingston »

That works. :D Thanks.
Post Reply