From 290188f696ea227cbcd1bf420ba3ef98cc230717 Mon Sep 17 00:00:00 2001 From: tilleul Date: Mon, 8 Feb 2021 16:14:43 +0100 Subject: [PATCH] Update README.md --- tools/6502_assembler/README.md | 44 +++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/tools/6502_assembler/README.md b/tools/6502_assembler/README.md index 938ba9b..5661c09 100644 --- a/tools/6502_assembler/README.md +++ b/tools/6502_assembler/README.md @@ -1,6 +1,48 @@ -# 6502 SpASM (6502 Spreadsheet Assembler) +# 6502 SpASM (6502 Spreadsheet Assembler) v1.1.1 ![!test](6502_assembler.png) This is a proof-of-concept 6502 assembler in a spreadsheet (works with Excel, Libre Office, etc.) The XLSX file is the latest release. Instructions included in the spreadsheet. + +## Features +- all the 6502 instructions plus a couple of pseudo-instructions +- all addressing modes +- global and local labels +- EQUs to declare constants +- use of +/- offsets with constants/labels +- use of "#" to reference values +- decimal notation by default (0-65535) +- use of "$" for hexadecimal notation (2 bytes max) +- use of "%" for binary notation (16 bits max) +- use of ">" and "<" to point to MSB and LSB (2 bytes only) +- display cycle count +- ORG within code to define different starting addresses for modules +- HEX pseudo-instruction to define HEX data +- ASC/STR pseudo-instructions to define text constants (with ASC, hi-bit is unset, while with STR, it is) +- syntax highlighting + +## Revisions +### v1.0 (Jan 31, 2021) +- initial release + +### v1.0.1 (Jan 31, 2021) +- fixed zp jmp/jsr +- fixed ld_ #> and ld_ #< + +### v1.1 (Feb 6, 2021) +- fixed bytes needed for some opcodes +- added cycles display +- added support of ORG in the middle of the code +- added support for #label and #