please answer the following question (part a and b) and explain your answer
Extracted text: Question 5: Part(a) : what will be the output of the following in assembly language instructions : Memory address Instruction MOV Y,2 MUL Y,4 SUB Y,8 Answer 100 101 102 103 BRZ 110 104 BR 120 ADD Y,2 BR 121 110 11 SUB Y,2 ADD Y,2 120 121 Part(b) : Assuming that each memory location in RAM is 16 bits i.e. 16 bit data can stored at each location. Then for i) Direct Addressing Mode and ii) Indirect Addressing Mode, what is the size of the memory that can be accessed using the following instruction Орcode 2 bits Destination 3 bits Memory 8 bits Source 3 bits i) Direct Addressing Mode Answer : ii) Indirect Addressing Mode Answer :
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here