diff options
author | Andrew Waterman <waterman@s144.Millennium.Berkeley.EDU> | 2010-12-27 14:28:45 -0800 |
---|---|---|
committer | Andrew Waterman <waterman@s144.Millennium.Berkeley.EDU> | 2010-12-27 14:28:45 -0800 |
commit | 53e36319bc38b17d1cc98037322391f0606e8239 (patch) | |
tree | 6a493c1ab60f2b4af543c5b39cf15e768d7623b2 /riscv/insns/jal.h | |
parent | 3ebbeba6d5daa236ff346f313e79a9359d1a37bd (diff) | |
download | riscv-isa-sim-53e36319bc38b17d1cc98037322391f0606e8239.zip riscv-isa-sim-53e36319bc38b17d1cc98037322391f0606e8239.tar.gz riscv-isa-sim-53e36319bc38b17d1cc98037322391f0606e8239.tar.bz2 |
[sim] cleaned up handling of link register
Diffstat (limited to 'riscv/insns/jal.h')
-rw-r--r-- | riscv/insns/jal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/jal.h b/riscv/insns/jal.h index 7a70307..bca7241 100644 --- a/riscv/insns/jal.h +++ b/riscv/insns/jal.h @@ -1,2 +1,2 @@ -R[1] = npc; +RA = npc; npc = JUMP_TARGET; |