pretty6502 icon indicating copy to clipboard operation
pretty6502 copied to clipboard

Auto align mode

Open willie68 opened this issue 2 years ago • 1 comments

Hi, First of all I want to thank you for this nice piece of code. Do you actively maintain this? So I have a few requests:

  1. Is it possible to create an automatic alignment mode? The starting column of the mnemonic can be 1+length of the largest label. Start column for comments 1+ (or a tab) length of largest mnemonic with operand.

  2. I am using RetroAssembler and some directives are not evaluated, such as msg1: .asciiz "Welcome to EWOZ 1.0."

  3. Directives beginning in the first column are not formatted (I think they are treated as labels...)

  4. New option to format values, like $0faa -> $0FAA

  5. New option to format labels, like @WAIT: jsr @WAIT -> @wait: jsr @wait

willie68 avatar Oct 17 '22 08:10 willie68

Just one forgotten: 6. option for formatting operant modifier like LDA #$20, X -> lda #$20, x (because RetroAssembler is throwing error, if index parameters are uppercase...)

willie68 avatar Oct 17 '22 08:10 willie68