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 Long Addressing: Difference between revisions
From SnesLab
(opcode 6F) |
(→References: hid archive URL for E&L) |
||
(22 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
'''Absolute Long Addressing''' is supported by ten instructions: | |||
* [[ADC]] (opcode 6F) | * [[ADC]] (opcode 6F) | ||
* [[SBC]] | * [[SBC]] (opcode EF) | ||
* [[AND]] | * [[AND]] (opcode 2F) | ||
* [[ORA]] | * [[ORA]] (opcode 0F) | ||
* [[LDA]] | * [[LDA]] (opcode AF) | ||
* [[STA]] | * [[STA]] (opcode 8F) | ||
* [[EOR]] | * [[EOR]] (opcode 4F) | ||
* [[CMP]] | * [[CMP]] (opcode CF) | ||
* [[JMP]] / JML | * [[JMP]] / JML (opcode 5C) | ||
* [[JSR]] / JSL | * [[JSR]] / JSL (opcode 22) | ||
All are four bytes long. This is what the various operand bytes represent: | |||
# low byte of absolute address (byte within [[page]]) | |||
# high byte of absolute address (page number) | |||
# [[bank]] number | |||
==== Syntax ==== | |||
<pre> | |||
LDA long | |||
</pre> | |||
=== See Also === | === See Also === | ||
* [[Absolute Addressing]] | * [[Absolute Addressing]] | ||
* [[Absolute Indirect Long Addressing]] | |||
=== | === References === | ||
* [[Eyes & Lichty]] | * [[Eyes & Lichty]], [https://archive.org/details/0893037893ProgrammingThe65816/page/385 page 385] | ||
* section 3.5.7 of 65c816 datasheet, https://westerndesigncenter.com/wdc/documentation/w65c816s.pdf | |||
* Clark, Bruce. http://www.6502.org/tutorials/65c816opcodes.html#5.16 | |||
[[Category:ASM]] | |||
[[Category:Addressing Modes]] | [[Category:Addressing Modes]] | ||
[[Category:Simple Admodes]] | |||
[[Category:65c816 additions]] | [[Category:65c816 additions]] |
Latest revision as of 19:09, 8 August 2024
Absolute Long Addressing is supported by ten instructions:
- ADC (opcode 6F)
- SBC (opcode EF)
- AND (opcode 2F)
- ORA (opcode 0F)
- LDA (opcode AF)
- STA (opcode 8F)
- EOR (opcode 4F)
- CMP (opcode CF)
- JMP / JML (opcode 5C)
- JSR / JSL (opcode 22)
All are four bytes long. This is what the various operand bytes represent:
- low byte of absolute address (byte within page)
- high byte of absolute address (page number)
- bank number
Syntax
LDA long
See Also
References
- Eyes & Lichty, page 385
- section 3.5.7 of 65c816 datasheet, https://westerndesigncenter.com/wdc/documentation/w65c816s.pdf
- Clark, Bruce. http://www.6502.org/tutorials/65c816opcodes.html#5.16