R.O.M.E.68000 Home
Prev. Table of Cont. Help Similar Instr.

This is the R.O.M.E.68000 Manual version 0.51.
This is an experimental version.
Copyright © 1997 by G. Mezzetti; last update: January 1, 1999.


Ordinary Instructions of the ``Control'' Class

MoVe PoinTer

Mnemonic:
MVPT
Operands:
A,B

Oper. Addressing Group Op. Use Mult. Op.
A dadr d -
B dadr e -

Instruction Key:
10
Formal Description:

A + @(A) - @(B) --> B.
   {Put in B the address, relative to B, of the location pointed at by A}

Informal Description

This instruction moves a pointer contained in A into B, adjusting it so that it continues to point to the correct location (see fig. 25). Normally, pointers should be copied with MVPT, and using MOVE instead is an error (beware: a rather insidious kind of bug!); anyway, there are circumstances in which you will prefer to use MOVE and adjust the pointer subsequently with RNPT.


Prev. Table of Cont. Help Similar Instr.

Gustavo MEZZETTI  /  mezzetti@math.unipd.it