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 YA)
(wrapping notes)
Line 10: Line 10:
* [[Program Counter]]
* [[Program Counter]]
* [[YA]]
* [[YA]]
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.


=== See Also ===
=== See Also ===
* [[SPC700 Opcode Matrix]]
* [[SPC700 Opcode Matrix]]
=== Reference ===
# [https://www.romhacking.net/documents/197 anomie's SPC700 doc]


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

Revision as of 17:36, 24 July 2023

The Sony SPC700 is an 8-bit 65x-based CPU which serves as the SNES' sound chip. It talks to the Ricoh cpu over four ports. 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.

See Also

Reference

  1. anomie's SPC700 doc