|
| ||||
|
|
|
|
|
|
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
CFPT
| Oper. | Addressing Group | Op. Use | Mult. Op. |
|---|---|---|---|
| A | dadr | d | - |
| B | dadr | e | - |
1E
(B + @(B)) - (A + @(A)) --> B.
{Subtract the address of the location pointed at by A}
{from the address of the location pointed at by B;}
{puts in B the offset obtained in this way.}
This instructions calculates the offset (as an integer modulus 65536) of the two locations pointed at by its operands (the order is B - A), and puts it in B.
Note that the pointer initially found in B is overwritten, so it should be a copy that you created previously, for instance with MVPT.
|
|
|
|
|
|