Wednesday, 27 April 2011

Spring 2011_CS501_2 Sol.doc

check this soltion of Cs501 assignmetn number 02Q#01Specify the condition for the branch instruction and the status of the PC after the branch instruction executes with a true branch condition.solutionInstructionConditionPC statusJump[20]AlwaysPC← PC+20Jnz r3,[33]If R[3] ≠ 0PC← PC+33Jz r1,[16]If R[1] = = 0PC← PC+16Jpl r5,[37]If R[5] ≥0PC← PC+37Jmi r7,[40]If R[7] < 0PC← PC+40Q#02Identify the addressing modes and Register Transfer Language(RTL) description(meaning) for the given Falcon-A instructionssolutionInstructionAddressing ModeRTL description(meaning)Load r3,[r5+27]DisplacementR[3] ← M[R[5] +27]Jnz r5,[15]Relative(If R[5] ≠ 0): PC← PC+15Shiftl r3,r2,5ImmediateShift r3 left 6 times and...

Auto Draft

...

Monday, 11 April 2011

STA301 Quiz 1st (11-4-201)

see the link to download filehttp://vujungle.com/forum/viewtopic.php?f=9&t=1...

Page 1 of 812345Next
Twitter Delicious Facebook Digg Stumbleupon Favorites More