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
(→References: de-n'd page #) |
(→References: hid archive URL for E&L) |
||
(2 intermediate revisions 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]] | * [[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 | |||
[[Category:ASM]] | [[Category:ASM]] | ||
[[Category:Addressing Modes]] | [[Category:Addressing Modes]] | ||
[[Category:65c816 additions]] | [[Category:65c816 additions]] |
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
- Eyes & Lichty, page 400
- 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