|
Message
From: Balaji V. Iyer<bviyer@n...>
Date: Tue May 31 19:47:37 CEST 2005
Subject: [openrisc] Difference Between Jump(l.j) and Jump and Link (l.jal)
Hi Everyone, What exactly is the difference between Jump and link and the Jump instruction? Don't they both do the same thing (according to the OpenRISC architecture manual where it says "32 Bit Implementation").
For Example, let's say we have
100C: l.j 103233 1010: addi r3,r0,0x2 1014: ori r3,r11,0x0 and
100C: l.jal 103233 1010: addi r3,r0,0x2 1014: ori r3,r11,0x0
both of then should write 2 into R3 before jumping to 103233 and the R9 for both the jumps will be set to 1014.. am I correct?
Any Help is appreciated.
Thanks,
Balaji V. Iyer.
|
 |