From 7c8b89885ff0df5a1617363d4d079bed83e66403 Mon Sep 17 00:00:00 2001 From: nanochess Date: Fri, 3 Nov 2017 22:14:39 -0600 Subject: [PATCH] First commit --- README | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..9dbe00b --- /dev/null +++ b/README @@ -0,0 +1,27 @@ +Pretty6502 v0.1 by Oscar Toledo G. http://nanochess.org/ + +Usage: + pretty6502 [args] input.asm output.asm + +DON'T USE SAME OUTPUT FILE AS INPUT, though it's possible, +you can DAMAGE YOUR SOURCE if this program has bugs. + +Arguments: + -s0 Code in four columns (default) + label: mnemonic operand comment + -s1 Code in three columns + label: mnemonic+operand comment + -m8 Start of mnemonic column (default) + -o16 Start of operand column (default) + -c32 Start of comment column (default) + -t8 Use tabs of size 8 to reach column + -t0 Use spaces to align (default) + -a0 Align comments to nearest column + -a1 Comments at line start are aligned + to mnemonic (default) + +Assumes all your labels are at start of line and there is space +before mnemonic. + +Accepts any assembler file where ; means comment +[label] mnemonic [operand] ; comment