Question: SBN a,b,c is defined as: [a] = [a] - [b]; if [ a] :5 0, then branch to c. Using only a SBN destination, source,

SBN a,b,c is defined as: [a] = [a] - [b]; if [ a] :5 0, then branch to c. Using only a SBN destination, source, target, (subtract source from destination and branch to target on negative) instruction, implement the following primitives 

a. MOVE X, Y b. ADD X, Y ;copy the contents of memory location Y to location X ;add the contents of memory

a. MOVE X, Y b. ADD X, Y ;copy the contents of memory location Y to location X ;add the contents of memory location Y to location X C. IF (X 0) Y 2Y if the contents of loca- tion X are greater than zero, then Y2Y.

Step by Step Solution

3.45 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a b C To perform MOVE SBN T T 1 SBN T Y 1 SBN X X 1 SBN X T 1 X Y we can write set t... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Architecture Questions!