Difference between revisions of "SP0256 Page Prefix"
m (Protected "SP0256 Page Prefix" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))) |
|||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
The Page Prefix register provides the upper 4 bits of the address for [[SP0256 JSR|JSR]] instructions, as well as branches initiated by an external [[SP0256 Address Load]] command. | The Page Prefix register provides the upper 4 bits of the address for [[SP0256 JSR|JSR]] instructions, as well as branches initiated by an external [[SP0256 Address Load]] command. | ||
− | (Unsure: Do JSRs push 12-bit or 16-bit addresses...? I think they push 16-bit, so | + | (Unsure: Do JSRs push 12-bit or 16-bit addresses...? I think they push 16-bit, so [[SP0256 RTS|RTS]] always returns to the right place. Need to check.) |
Latest revision as of 09:12, 4 December 2010
The Page Prefix register provides the upper 4 bits of the address for JSR instructions, as well as branches initiated by an external SP0256 Address Load command.
(Unsure: Do JSRs push 12-bit or 16-bit addresses...? I think they push 16-bit, so RTS always returns to the right place. Need to check.)