From d372a0e5a897f499178c38851e17c3bd82e672c1 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Mon, 13 Jan 2014 16:25:55 -0800 Subject: swap JAL/JALR again --- opcodes | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'opcodes') diff --git a/opcodes b/opcodes index 53b1ce8..f6b7f8f 100644 --- a/opcodes +++ b/opcodes @@ -4,13 +4,9 @@ # is given by specifying one or more range/value pairs: # hi..lo=value or bit=value or arg=value (e.g. 6..2=0x45 10=1 rd=0) # -# is one of rd, rs1, rs2, rs3, imm25, imm20, imm12, imm12lo, imm12hi, +# is one of rd, rs1, rs2, rs3, imm20, imm12, imm12lo, imm12hi, # shamtw, shamt, rm -jal rd jimm20 6..2=0x19 1..0=3 - -jalr rd rs1 imm12 14..12=0 6..2=0x1b 1..0=3 - beq bimm12hi rs1 rs2 bimm12lo 14..12=0 6..2=0x18 1..0=3 bne bimm12hi rs1 rs2 bimm12lo 14..12=1 6..2=0x18 1..0=3 blt bimm12hi rs1 rs2 bimm12lo 14..12=4 6..2=0x18 1..0=3 @@ -18,6 +14,10 @@ bge bimm12hi rs1 rs2 bimm12lo 14..12=5 6..2=0x18 1..0=3 bltu bimm12hi rs1 rs2 bimm12lo 14..12=6 6..2=0x18 1..0=3 bgeu bimm12hi rs1 rs2 bimm12lo 14..12=7 6..2=0x18 1..0=3 +jalr rd rs1 imm12 14..12=0 6..2=0x19 1..0=3 + +jal rd jimm20 6..2=0x1b 1..0=3 + lui rd imm20 6..2=0x0D 1..0=3 auipc rd imm20 6..2=0x05 1..0=3 -- cgit v1.2.3