| Homework 11DetailsFor each problem make sure you clearly and neatly show all of your work!
Each part/problem is worth 5 points unless otherwise specified.
- Perform the following bitwise operations:
-
0010111
AND 1001101
-
0010111
OR 1001101
-
0010111
XOR 1001101
- What is the result of doing each of the following to the byte with hexadecimal value C9. (Hint: convert to binary, perform the operation, convert back to hexadecimal.)
- Rotate (circular shift) right by 3 bits.
- Logical shift right by 3 bits.
- Arithmetic shift right by 3 bits.
- Write a program in the machine language we discussed that places CC in all memory cells from address A0 through C0. Your program should be in memory cells 00 through 13 (and no more).
Note: All numbers in this problem given in Hexadecimal.
Submit your answer to this problem via
Moodle HW 11 as a file called Problem_11_3.txt.
I should be able to run your program in one of the simulators.
|