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

Program Counter Relative Long Addressing: Difference between revisions

From SnesLab
Jump to: navigation, search
(→‎References: Clark link)
(→‎References: hid archive URL for E&L)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
'''Program Counter Relative Long Addressing''' is supported by [[BRL]] only (opcode 82).
'''Program Counter Relative Long Addressing''' is supported by [[BRL]] only (opcode 82).
The effective address is generated by adding the 16-bit signed operand to the [[program counter]].  The [[program bank register]] remains unchanged.


==== Syntax ====
==== Syntax ====
Line 10: Line 12:


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

Latest revision as of 19:35, 8 August 2024

Program Counter Relative Long Addressing is supported by BRL only (opcode 82).

The effective address is generated by adding the 16-bit signed operand to the program counter. The program bank register remains unchanged.

Syntax

BRL label

See Also

References