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

Block Move Addressing: Difference between revisions

From SnesLab
Jump to: navigation, search
(added opcodes)
(added ref to datasheet)
Line 6: Line 6:
The total number of bytes copied is the value in the [[C accumulator]] plus one.  If a block move is interrupted, the current byte copy is completed, then the interrupt is serviced.
The total number of bytes copied is the value in the [[C accumulator]] plus one.  If a block move is interrupted, the current byte copy is completed, then the interrupt is serviced.


=== Reference ===
=== References ===
* [[Eyes & Lichty]], page 388: https://archive.org/details/0893037893ProgrammingThe65816/page/n414
* [[Eyes & Lichty]], page 388: https://archive.org/details/0893037893ProgrammingThe65816/page/n414
* section 3.5.9 of 65c816 datasheet, https://westerndesigncenter.com/wdc/documentation/w65c816s.pdf


[[Category:ASM]]
[[Category:ASM]]
[[Category:Addressing Modes]]
[[Category:Addressing Modes]]
[[Category:65c816 additions]]
[[Category:65c816 additions]]

Revision as of 16:25, 27 June 2024

Two instructions use Block Move Addressing on the 65c816:

  • MVP (opcode 44)
  • MVN (opcode 54)

The total number of bytes copied is the value in the C accumulator plus one. If a block move is interrupted, the current byte copy is completed, then the interrupt is serviced.

References