MMIX LOGO

MMIX Instruction Set

Table of Content

Content

Jumps with Relative Addresses

Name:

JMP XYZ

Specification:
@ ← RA with
RA ← @+4*XYZ for a jump forward,
RA ← @+4*(XYZ-224) for a jump backward.

Timing:

Description:

Executes an unconditional jump. Usually, a label is used to specify the jump target. The assembler will automatically determine whether it is a jump forward or backward and selects the appropriate instruction.

Consider: You should read General Information before reading the next paragraph.

JMP: A JMP command treats bytes X, Y, and Z as an unsigned 24-bit integer XYZ. It allows a program to transfer control from location λ to any location between λ - 67,108,864 and λ + 67,108,860 inclusive, using relative addressing as in the B and PB commands.

See also:

General Information

Please help to keep this site up to date! If you want to point out important material or projects that are not listed here, if you find errors or want to suggest improvements, please send email to email