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

do Arithmetical MODulus

Mnemonic:
AMOD
Operands:
A,B

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

Instruction Key:
28
Formal Description:

B MOD A --> B {reduce B modulus A}.

Informal Description

This instruction puts in B the remainder of the division of B itself by A. Remember that such division is performed as if A and B were 16-bits-wide unsigned integers.


Prev. Table of Cont. Help Similar Instr.

Gustavo MEZZETTI  /  mezzetti@math.unipd.it