Template:360 opcode RR

RR Instruction (2 bytes)
Byte 1
bits (0-7)
Byte 2
target register
(8-11)
source register
(12-15)
(in hex) Opcode
{{{1}}}
(4 bits)
0..F / (dec 0..15)
(4 bits)
0..F / (dec 0..15)
  • The first argument is a target register which value is affected by the instruction.
  • The second argument is the source register.
  • The target register and source register values are 0 to 15.


Usage for this template:

  • {{360 opcode RR|opcode}}
  • {{360 opcode RR|opcode|M}} or
  • {{360 opcode RR|opcode|B}} or
  • {{360 opcode RR|opcode|B}} or
  • {{360 opcode RR|opcode|E}} or

Where opcode is the 2-digit hexadecimal opcode value (4 digits for type "E") and the optional value of

  • M is used when the first parameter is a mask rather than a register
  • B when the second parameter contains a branch address
  • I when the only parameter is an 8-bit immediate value (the SVC instruction)
  • E when the instruction uses a 16-bit opcode