CSE360_HW3

CSE360_HW3 - CSE 360 Homework #3 Summer11 Abdulwahab...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE 360 Homework #3 Summer11 Abdulwahab Alkharashi & Hany Rashwan CSE 360 Homework #3 HW3-1. Do review questions 8-11 8: OPCODE which refers to operation code is the portion of a machine langue instruction. The propose of an instruction format is that to convert encoding machine instructions in binary format. 9: It initiates object code by translating assembly instruction mnemonics into OPCODE. 10: MAR (memory address register) is supporting access to the memory to hold the address of memory location. MDR (Memory data register) can hold values that are related with the memory access. 11: Program counter is to store the address of the next instruction to be executed HW3-2. Do exercises 8a-d 9 & 14a 8 & 9 A: CODE Translation 100 10101 LOAD 21 acc = b 010 10111 MPY 23 acc = b*d 000 10100 ADD 20 acc = a + b*d 101 11000 STORE 24 e = a + b*d
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CSE 360 Homework #3 Summer11 B: CODE Translation 100 10101 LOAD 21 acc = b 010 10110 MPY 22 acc = b*c 101 11100 STORE 28 temp = b*c 100 10100 LOAD 20
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

CSE360_HW3 - CSE 360 Homework #3 Summer11 Abdulwahab...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online