Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
Add comment re: S.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomHarte committed Aug 1, 2023
1 parent 40234f8 commit 5d28c5f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions 65816/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Sample test:
"name": "3d e 1",
"initial": {
"pc": 9900,
"s": 191,
"s": 2191,
"p": 171,
"a": 25345,
"x": 100,
Expand All @@ -26,7 +26,7 @@ Sample test:
},
"final": {
"pc": 9903,
"s": 191,
"s": 2191,
"p": 43,
"a": 25344,
"x": 100,
Expand Down Expand Up @@ -70,3 +70,5 @@ Sample test:
So e.g. `d--remx-` means that VDA was active, VPA and VPB were inactive, RWB signalled a read, E, M and X were active and MLB was inactive.

The environment used does not activate RAM unless one of VDA, VPA or VPB is active, therefore affected bus transactions with the read line set do not produce a `value`. `null` is recorded in its place.

**S in emulation mode**: as best as the author can determine, S remains a full 16-bit quantity in emulation mode and is subject to 16-bit increments and decrements. It is therefore recorded as a 16-bit quantity even for those instructions that force accesses into page 1.

0 comments on commit 5d28c5f

Please sign in to comment.