clownassembler icon indicating copy to clipboard operation
clownassembler copied to clipboard

Feature wishlist

Open cvghivebrain opened this issue 2 years ago • 4 comments

These are some things I'd like to be added, listed from most important to least important.

  • [x] String stuff (equs, strlen, strcmp, instr, substr) (asm68k)
  • [ ] Z80 (AS)
  • [ ] Functions (AS)
  • [ ] Default values for parameters in macros (AS)
  • [x] Reference local labels from afar with Global_label.local_label (AS)
  • [ ] SH-2
  • [ ] {curly_brackets} for variables (AS)
  • [ ] Variable containing iteration number in rept
  • [ ] Direct comparison of strings (instead of strcmp)
  • [ ] Current line number as a variable (e.g. _line)

I apologise in advance if any of these are nonsensical or difficult to implement.

cvghivebrain avatar Feb 26 '24 21:02 cvghivebrain

Reference local labels from afar with Global_label.local_label (AS)

This one should already be implemented. If it isn't working, then there's a bug somewhere.

Clownacy avatar Feb 26 '24 21:02 Clownacy

Nice, I haven't tested it myself but I'm sure it works. It's not a feature in asm68k so I assumed you hadn't added it.

cvghivebrain avatar Feb 26 '24 21:02 cvghivebrain

I would like to see support for equr (allows you to give registers names so the code is easier to read) and multi-line comments

Pr0jectFM avatar Mar 18 '24 22:03 Pr0jectFM