We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
PCALL (SPC700): Difference between revisions
From SnesLab
(→External Links: added forum link) |
(how it relates to CALL) |
||
Line 43: | Line 43: | ||
PCALL upage | PCALL upage | ||
</pre> | </pre> | ||
PCALL $xx has the same effect as [[CALL]] $FFxx.<sup>[2]</sup> | |||
=== See Also === | === See Also === | ||
* [[TCALL]] | * [[TCALL]] | ||
=== External Links === | === External Links === | ||
# Official Nintendo documentation on PCALL: Table C-16 [https://archive.org/details/SNESDevManual/book1/page/n234 Appendix C-9 of Book I] | |||
# https://forums.nesdev.org/viewtopic.php?t=13313 | |||
Revision as of 05:12, 8 July 2024
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | Speed | ||||
Uppermost Page | 4F | 2 byte | 6 cycles |
Flags Affected | |||||||
---|---|---|---|---|---|---|---|
N | V | P | B | H | I | Z | C |
. | . | . | . | . | . | . | . |
PCALL (uPage CALl) is an SPC700 instruction that runs a subroutine in the Uppermost Page. The operand specifies the low byte of the target address within the uppermost page.
No flags are affected.
Syntax
PCALL upage
PCALL $xx has the same effect as CALL $FFxx.[2]
See Also
External Links
- Official Nintendo documentation on PCALL: Table C-16 Appendix C-9 of Book I
- https://forums.nesdev.org/viewtopic.php?t=13313