S-SMP: Difference between revisions
(no hardware interrupt) |
(explain what YA is) |
||
Line 10: | Line 10: | ||
The following registers are 16-bit: | The following registers are 16-bit: | ||
* [[Program Counter]] | * [[Program Counter]] | ||
* [[YA]] | * [[YA]] (which is virtually just the Y index reg concatenated to A) | ||
Instructions that try to access memory straddling past the end of [[ARAM]] (the last byte of which is at $FFFF) will wrap around and end up accessing the zeropage (which is at $0000). Accesses that use [[direct page addressing]] will wrap within the [[direct page]]. | Instructions that try to access memory straddling past the end of [[ARAM]] (the last byte of which is at $FFFF) will wrap around and end up accessing the zeropage (which is at $0000). Accesses that use [[direct page addressing]] will wrap within the [[direct page]]. |
Revision as of 14:26, 24 July 2024
The S-SMP is a Sony SPC700 series 8-bit 65x-based MPU which serves as the SNES' sound chip. It talks to the Ricoh 5A22 over four ports via the SNES Bus. It is clocked by CPUK. The minimum command execution time is 1.953 microseconds.[2]
The following registers are 8-bit:
The following registers are 16-bit:
- Program Counter
- YA (which is virtually just the Y index reg concatenated to A)
Instructions that try to access memory straddling past the end of ARAM (the last byte of which is at $FFFF) will wrap around and end up accessing the zeropage (which is at $0000). Accesses that use direct page addressing will wrap within the direct page.
The stack is always located in page one (at $0100). Memory accesses that straddle the end of the stack will wrap to the beginning of the stack.
Operands that use absolute addressing are prefixed with an exclamation point (!).
The S-SMP has no hardware interrupt sources.
See Also
Reference
- anomie's SPC700 doc
- SNES Sound Source Outline on page 3-1-1 of Book I of the official Super Nintendo development manual