Thurs, 12th Oct 2017, 17:11 Re: EE306



A student writes:

> Dr. Patt,
>    What is the difference between the JMP Opcode and the BRnzp Opcode?
> Would they not more or less do the same thing?
> Thanks!
> <<name withheld to protect the student who does not see the difference>>

More or less, BUT there is a difference.  Have you discussed this with
members of your study group?

I decided to send this to all of you since it is indicative of the detail
that you need to understand what an opcode can do and what it can not do.
And, no better example than BR and JMP.

So you need to ask: What does a BRnzp instruction allow the program to do?
What does the JMP instruction allow the program to do?

Hint: What does LDR and LDI allow the program to do that LD does not allow
the program to do.  We discussed that in class yesterday.

Good luck on the exam.


Yale Patt