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

Absolute Indirect Addressing: Difference between revisions

From SnesLab
Jump to: navigation, search
(→‎See Also: abs addressing)
(effective address)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Absolute Indirect Addressing''' is supported by [[JMP]] (opcode 6C).
'''Absolute Indirect Addressing''' is supported only by [[JMP]] (opcode 6C).
 
The '''indirect address''' is located in [[bank]] 0.  It is concatenated to the [[program bank register]] to form the 24-bit '''effective address'''.


==== Syntax ====
==== Syntax ====
Line 11: Line 13:


=== References ===
=== References ===
* [[Eyes & Lichty]] page 383, https://archive.org/details/0893037893ProgrammingThe65816/page/383
* [[Eyes & Lichty]], [https://archive.org/details/0893037893ProgrammingThe65816/page/383 page 383]
* section 3.5.5 of 65c816 datasheet, https://westerndesigncenter.com/wdc/documentation/w65c816s.pdf
* section 3.5.5 of 65c816 datasheet, https://westerndesigncenter.com/wdc/documentation/w65c816s.pdf
* Clark, Bruce. http://www.6502.org/tutorials/65c816opcodes.html#5.4


[[Category:Addressing Modes]]
[[Category:Addressing Modes]]
[[Category:ASM]]
[[Category:ASM]]
[[Category:Inherited from 6502]]
[[Category:Inherited from 6502]]

Latest revision as of 05:48, 11 August 2024

Absolute Indirect Addressing is supported only by JMP (opcode 6C).

The indirect address is located in bank 0. It is concatenated to the program bank register to form the 24-bit effective address.

Syntax

 JMP (addr)

See Also

References