Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1.Show how the decimal value 1116201510 would be stored by byte-addressable mach

ID: 3762517 • Letter: 1

Question

1.Show how the decimal value 1116201510 would be stored by byte-addressable machines with 32-bit words, using little endian format and then big endian format. Assume the value starts at address 101816. Draw a diagram of memory and place the appropriate values in the correct (and labeled) memory locations.  
2. Suppose we have the instruction Load 100. Given memory and register R1 contain the values below:   Memory Address Content 100 500 300 700 500 900 700 100 900 300 Assuming R1 is implied in the indexed addressing mode, determine the actual value loaded into the accumulator and fill in the table below:   Mode Value Loaded into AC Immediate Direct Indirect Indexed  
3. The memory unit of a computer has 128K words of 32 bits each. The computer has an instruction format with four fields: an opcode field; a mode field to specify one of ten addressing modes; a register address field to specify one of 32 registers; and a memory address field. Assume an instruction is 32 bits long. Answer the following questions. Show your steps to receive partial credit.
a. How large must the mode field be?
b. How large must the register field be?
c. How large must the address field be?
d. How large is the opcode field?

Explanation / Answer

3rd Answer

a) we need to identify 1 of 10 items so,there must be 3 bits 23=8

b) To enumerate 32 registers we need 5 bits ( since 25=32)

c) 128k=27*210 =217 or 17 bits

d) 32-(1+17+5)

=9 bits

so there can be 29 opcodes

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Chat Now And Get Quote