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

TCALL (SPC700): Difference between revisions

From SnesLab
Jump to: navigation, search
(implied type 3)
(added equation for effective address)
Line 110: Line 110:
|}
|}


'''TCALL''' (Table CALl) is an [[SPC700]] instruction that calls a subroutine in the [[uppermost page]].  The low byte of the effective address which is called is a function of the high nibble of the opcode.  The high byte of the effective address is always $FF.
'''TCALL''' (Table CALl) is an [[SPC700]] instruction that calls a subroutine in the [[uppermost page]].  The low byte of the effective address which is called is a function of the high nibble of the opcode, equal to $DE - nibble*2.  The high byte of the effective address is always $FF.


=== See Also ===
=== See Also ===

Revision as of 17:29, 24 July 2023

Basic Info
Addressing Mode Opcode Length Speed
Implied (type 3) 01 1 byte 8 cycles
Implied (type 3) 11 1 byte 8 cycles
Implied (type 3) 21 1 byte 8 cycles
Implied (type 3) 31 1 byte 8 cycles
Implied (type 3) 41 1 byte 8 cycles
Implied (type 3) 51 1 byte 8 cycles
Implied (type 3) 61 1 byte 8 cycles
Implied (type 3) 71 1 byte 8 cycles
Implied (type 3) 81 1 byte 8 cycles
Implied (type 3) 91 1 byte 8 cycles
Implied (type 3) A1 1 byte 8 cycles
Implied (type 3) B1 1 byte 8 cycles
Implied (type 3) C1 1 byte 8 cycles
Implied (type 3) D1 1 byte 8 cycles
Implied (type 3) E1 1 byte 8 cycles
Implied (type 3) F1 1 byte 8 cycles
Flags Affected
N V P B H I Z C
. . . . . . . .

TCALL (Table CALl) is an SPC700 instruction that calls a subroutine in the uppermost page. The low byte of the effective address which is called is a function of the high nibble of the opcode, equal to $DE - nibble*2. The high byte of the effective address is always $FF.

See Also

External Links