Use jr as register jump instruction

Current assembler codes are inconsistent in the way of register jump
instruction usage; some use jr, some use j. Of course GNU as allows both
usages, but as can be expected from `Jump Register' the mnemonic `jr' is
more intuitive than `j'. For example, Linux doesn't have `j <reg>' usage
at all.

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
This commit is contained in:
Shinya Kuribayashi
2008-04-17 23:35:13 +09:00
committed by Wolfgang Denk
parent 7ce6370982
commit 43c509254f
9 changed files with 15 additions and 15 deletions

View File

@@ -450,7 +450,7 @@ mtc: sw zero, 0(t0)
nop
nop
memtestend:
j ra
jr ra
nop
memhang: