mirror of
https://github.com/fadden/6502bench.git
synced 2025-07-27 11:24:06 +00:00
We were treating PEA's operand as an absolute address and attempting to extend it to 24 bits. This wasn't very successful, and was counter-productive when the argument was actually a constant, which is common. Worse, if the operand appeared to reference an internal address outside bank 0, we would output a 24-bit value, breaking 64tass and cc65. We now treat PEA as having an immediate operand. (It was already classified as an "extended immediate", but the operand-address computation was still happening.) This will have little to no effect on projects that use OMF relocation data, because PEA arguments are explicitly identified as symbols or constants. New tests were added to 20032-labels-and-symbols to exercise the code generation failures. A few other tests that used PEA were affected. 20152-local-variables was fixed by adding a symbolic reference, the others remained as-is and the expected output was revised. (issue #172)
This is the project web site, served through GitHub Pages. The URL https://6502bench.com/ is mapped here. Any change checked in to this part of the tree is (almost) immediately visible on the web.
Many of the pages share common elements: masthead, top nav bar, side nav bar, and footer. These are inserted by a Python script (block-repl.py) that must be run whenever one of the "-incl" files changes.