We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
BRL: Difference between revisions
From SnesLab
(→See Also: JMP) |
(added syntax) |
||
Line 40: | Line 40: | ||
BRL is relocatable. No flags are affected. | BRL is relocatable. No flags are affected. | ||
==== Syntax === | |||
<pre> | |||
BRL rel | |||
</pre> | |||
=== See Also === | === See Also === |
Revision as of 21:02, 6 July 2024
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | Speed | ||||
Program Counter Relative Long | 82 | 3 bytes | 4 cycles |
Flags Affected | ||||||||
---|---|---|---|---|---|---|---|---|
N | V | M | X | D | I | Z | C | |
. | . | . | . | . | . | . | . |
BRL is a 65c816 instruction that performs an unconditional jump. The target can be anywhere within the current bank.
The 16 bit operand is not an absolute address, but a signed displacement.
BRL is relocatable. No flags are affected.
= Syntax
BRL rel
See Also
External Links
- Eyes & Lichty page 438, on BRL: https://archive.org/details/0893037893ProgrammingThe65816/page/n464
- Labiak page 127 on BRL: https://archive.org/details/Programming_the_65816/page/n137
- snes9x implementation of BRL: https://github.com/snes9xgit/snes9x/blob/master/cpuops.cpp#L1405