MVP MVP Block Move Positive MVP 65816 only! N V M X D I Z C Operation: . . . . . . . . +----------------+-----------------------+---------+---------+----------+ | Addressing Mode| Assembly Language Form| OP CODE |No. Bytes|No. Cycles| +----------------+-----------------------+---------+---------+----------+ | Block Positive | MVP $FF,$FF | $44 | 3 | 7/byte | +----------------+-----------------------+---------+---------+----------+ X-Register = Source Address Y-Register = Destination Address Accumulator = Number of Bytes to move -1 $FF,$FF = Source Bank, Destination Bank Attention: In memory the order of the Bank-bytes is the other way around (i.e. Dest, Src)! Some assemblers use this order as syntax, although it is not correct. Keep also in mind that the Data-Bank-Register will be set to Dest-Bank. MVP is used when the destination start address is higher (more positive) than the source start address. |