freem / asm6f

A fork of loopy's ASM6, a 6502 assembler.
96 stars 24 forks source link

Added .lst file creation directives #24

Open icypawn opened 5 years ago

icypawn commented 5 years ago

-u will only expand macros (rept definitions are shown)... reduces .lst file size

 (without -U directive, -u keeps macro definitions shown)

-U will ONLY expand macro use; hides macro definitions and also runs -u flag


line 1687 is major change that runs listline depending on 5 flags

that line is simplified with boolean algebra :)

Note: running asm6f with all the listing flags will cause a -L lst file to be created, like Loopy's original design :)

  all lines we edited end with 0_0
        except: the 4 variables we created at the end of the variable list
                and line 1687... sorry.

  we is God, my heavenly father, and me :)

p.s. Koitsu encouraged me to submit these changes to your asm6f

icypawn commented 5 years ago

YEAY, branch c69f34a has the change from line 1769... that line's | was changed to a + because that should eliminate all of the "possible" problems that may happen if insidemacro and insiderept are ever both nonzero.

I learned to always close the file before pushing something. And to never change anything because that will eliminate all comments. :(

branch ebde657 is pointless... I hadn't closed the asm6f.c so it didn't update.

My comments that got eliminated said something like: Line 1687 is the heart of my changes. And... I can't remember right now. final edit: those eliminated comments have been rewritten on branch c69f34a

icypawn commented 5 years ago

freem, is there something else I need to do? I'm done with editing this commit. :)