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
(wrapping notes)
(absolute addressing uses !)
Line 14: Line 14:


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.
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 ===
=== See Also ===

Revision as of 18:42, 25 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.

Operands that use absolute addressing are prefixed with an exclamation point (!).

See Also

Reference

  1. anomie's SPC700 doc