OPCoder - ARM Instruction
ADD
SUB
AND
XOR
ORR
CBZ
LDUR
STUR
B
INPUT
ADD X9, X20, X21
Convert
OUTPUT
HOW TO USE
The syntax is as follows:
ADD X5, X5, X6 // ADD
LDUR X5, [X2,#0] // LDUR
CBZ X7, #3 // CBZ
B #4 // B
STUR X5, [X2,#2] // STUR
...
...
...
Press "Convert" and result will be populated in the box below the button. Do check out lecture slides for the detail of instructions.. :)
Do not that syntax checking is not provided. Hope this helps your assignment productivity!
Reference
Type
Format (32 bits)
R
Opcode(11)
Rm(5)
shamt(6)
Rn(5)
Rd(5)
D
Opcode(11)
address(9)
op2(2)
Rn(5)
Rt(5)
CB
Opcode(8)
address(19)
Rt(5)
B
Opcode(6)
address(26)
Type
Instructions
R
ADD, SUB, AND, XOR, ORR
D
LDUR, STUR
CB
CBZ
B
B