So I am taking my first computer organization class and im using a hypothetical
ID: 3650027 • Letter: S
Question
So I am taking my first computer organization class and im using a hypothetical machine called the Pep/8 to understand a grasp of how a computer works. Pep/8 is a 16-bit machine.These are some of the questions that i could not answer on my own.
We know that memory addresses in Pep/8 are expressed in hexadecimal (from 0000 to FFFF)
Given this machine language instruction: 7AF82C
1. Write the Opcode to binary: (What is an opcode? exactly, and how do we change this to binary.)
2. What does the instruction do:
3. Write the r field in binary: (I know that this specifies av register)
4. Which register does it specify:
5. Write the aaa field in binary:
6. Which addressing mode does it specify:
7. Write the operand specifier in hexadecimal:
Could you please give detailed steps explaining how to answer some of these? Id like to get to the point where I can do these on my own like nothing.
Explanation / Answer
7AF82C -- 0111 1010 1111 1000 0010 1100 opcode -- a)0111 b)it adds to register r c)r=1 d) the index register x e)aaa= 010 f)indirect addressing g)F82C IN HEXADECIMAL
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.