We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

S-SMP: Difference between revisions

From SnesLab
Jump to: navigation, search
(added stack pointer)
(→‎Reference: added official dev manual link)
Line 23: Line 23:
=== Reference ===
=== Reference ===
# [https://www.romhacking.net/documents/197 anomie's SPC700 doc]
# [https://www.romhacking.net/documents/197 anomie's SPC700 doc]
# [https://archive.org/details/SNESDevManual/book1/page/n152 page 3-1-1 of Book I] of the official Super Nintendo development manual


[[Category:SNES Hardware]]
[[Category:SNES Hardware]]

Revision as of 03:37, 8 January 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 following registers are 8-bit:

The following registers are 16-bit:

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 (!).

See Also

Reference

  1. anomie's SPC700 doc
  2. page 3-1-1 of Book I of the official Super Nintendo development manual