How many lines have I used?
Moderator: frank
-
- Posts: 131
- Joined: Sun Nov 15, 2009 3:37 pm
- Location: New Orleans, LA US
How many lines have I used?
Is there any simple way in SpinASM to show how many operations my code uses? It would be nice for budgeting code space.
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.
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
Experimental Noize
-
- Posts: 131
- Joined: Sun Nov 15, 2009 3:37 pm
- Location: New Orleans, LA US