aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/jal.h
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@s144.Millennium.Berkeley.EDU>2010-11-02 16:00:37 -0700
committerAndrew Waterman <waterman@s144.Millennium.Berkeley.EDU>2010-11-21 16:54:33 -0800
commit3f144b12ed35f7fee4c7faf937e144807acb1e2b (patch)
treef2e64e6b6a31d2ebdefa2ba2558ee1d87a760184 /riscv/insns/jal.h
parent68f81d8f487c56a71ab2f374114fb513b55dce86 (diff)
downloadriscv-isa-sim-3f144b12ed35f7fee4c7faf937e144807acb1e2b.zip
riscv-isa-sim-3f144b12ed35f7fee4c7faf937e144807acb1e2b.tar.gz
riscv-isa-sim-3f144b12ed35f7fee4c7faf937e144807acb1e2b.tar.bz2
[xcc, sim, pk] link register is now x1
Diffstat (limited to 'riscv/insns/jal.h')
-rw-r--r--riscv/insns/jal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/jal.h b/riscv/insns/jal.h
index 7995b15..7a70307 100644
--- a/riscv/insns/jal.h
+++ b/riscv/insns/jal.h
@@ -1,2 +1,2 @@
-R[31] = npc;
+R[1] = npc;
npc = JUMP_TARGET;