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
(added anomie's doc)
(all opcodes)
Line 8: Line 8:
|+
|+
|implied
|implied
|n1
|01
|1 byte
|8 cycles
|+
|implied
|11
|1 byte
|8 cycles
|+
|implied
|21
|1 byte
|8 cycles
|+
|implied
|31
|1 byte
|8 cycles
|+
|implied
|41
|1 byte
|8 cycles
|+
|implied
|51
|1 byte
|8 cycles
|+
|implied
|61
|1 byte
|8 cycles
|+
|implied
|71
|1 byte
|8 cycles
|+
|implied
|81
|1 byte
|8 cycles
|+
|implied
|91
|1 byte
|8 cycles
|+
|implied
|A1
|1 byte
|8 cycles
|+
|implied
|B1
|1 byte
|8 cycles
|+
|implied
|C1
|1 byte
|8 cycles
|+
|implied
|D1
|1 byte
|8 cycles
|+
|implied
|E1
|1 byte
|8 cycles
|+
|implied
|F1
|1 byte
|1 byte
|8 cycles
|8 cycles
Line 35: Line 110:
|}
|}


'''TCALL''' (Table CALl) is an [[SPC700]] instruction.
'''TCALL''' (Table CALl) is an [[SPC700]] instruction that calls a subroutine. 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.
The high nibble of the opcode determines the effective address which is called.


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

Revision as of 04:57, 23 July 2023

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

TCALL (Table CALl) is an SPC700 instruction that calls a subroutine. 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.

See Also

External Links