1
0
mirror of https://github.com/fadden/6502bench.git synced 2025-07-27 11:24:06 +00:00
Files
6502bench/docs
Andy McFadden 4846a26c9a Treat PEA operand as imm const16
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)
2025-07-18 13:25:29 -07:00
..
2025-07-18 13:25:29 -07:00
2024-08-19 13:03:16 -07:00
2021-06-05 11:07:14 -07:00
2024-09-17 15:11:03 -07:00
2021-06-23 13:32:04 -07:00
2021-06-08 13:14:14 -07:00

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.