04-27-2011, 07:05 PM
Specify the condition for the branch instruction and the status of the PC after the branch instruction executes with a true branch condition.
[FONT="]Instruction[/FONT]
[FONT="]Condition[/FONT]
[FONT="]PC status[/FONT]
Jump[20]
[FONT="] [/FONT]
[FONT="] [/FONT]
Jnz r3,[33]
[FONT="] [/FONT]
[FONT="] [/FONT]
Jz r1,[16]
[FONT="] [/FONT]
[FONT="] [/FONT]
Jpl r5,[37]
[FONT="] [/FONT]
[FONT="] [/FONT]
Jmi r7,[40]
[FONT="] [/FONT]
[FONT="] [/FONT]
Identify the addressing modes and Register Transfer Language(RTL) description(meaning) for the given Falcon-A instructions
[FONT="]Instruction[/FONT]
[FONT="]Addressing Mode[/FONT]
[FONT="]RTL description(meaning)[/FONT]
Load r3,[r5+27]
[FONT="] [/FONT]
Jnz r5,[15]
[FONT="] [/FONT]
Shiftl r3,r2,5
[FONT="] [/FONT]
Add r6,r5,r7
[FONT="] [/FONT]
Subi r4,r3,17
[FONT="] [/FONT]
[FONT="]Instruction[/FONT]
[FONT="]Condition[/FONT]
[FONT="]PC status[/FONT]
Jump[20]
[FONT="] [/FONT]
[FONT="] [/FONT]
Jnz r3,[33]
[FONT="] [/FONT]
[FONT="] [/FONT]
Jz r1,[16]
[FONT="] [/FONT]
[FONT="] [/FONT]
Jpl r5,[37]
[FONT="] [/FONT]
[FONT="] [/FONT]
Jmi r7,[40]
[FONT="] [/FONT]
[FONT="] [/FONT]
[FONT="]Question No: 2[/FONT]
[FONT="]Marks: 10 [/FONT]
Identify the addressing modes and Register Transfer Language(RTL) description(meaning) for the given Falcon-A instructions
[FONT="]Instruction[/FONT]
[FONT="]Addressing Mode[/FONT]
[FONT="]RTL description(meaning)[/FONT]
Load r3,[r5+27]
[FONT="] [/FONT]
Jnz r5,[15]
[FONT="] [/FONT]
Shiftl r3,r2,5
[FONT="] [/FONT]
Add r6,r5,r7
[FONT="] [/FONT]
Subi r4,r3,17
[FONT="] [/FONT]