Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

87 8 bits Bit 15 8 bits Mantissa (M) is an unsigned fixed-point fraction Exponent(E) is in 2's complement Decimal value (0.M) * 25 Figure

image text in transcribed

87 8 bits Bit 15 8 bits Mantissa (M) is an unsigned fixed-point fraction Exponent(E) is in 2's complement Decimal value (0.M) * 25 Figure 010) (7 marks) Question 2 (25 marks) Figure Q2 shows the characteristics of a hypothetical machine, relevant portions of memory, processor registers and some I/O devices. For the instruction format shown in Figure Q2(0), if it is an I/O instruction, bits 4 to 15 identifies a particular 1/O device, else a memory address. Bit 0 15 Opcode Meanory address of 10 derece number fi) Instruction format 1 Bit o Sian Magnitsde (ii) Integer format Program counter (PC)= Address of wastruction Accumulator (AC) = Temporary storage Instruction register (IR) = Instruction being executed (iii) Internal CPU registers 0010 = Store AC to memor 0011 = Lead AC from 10 0101 = Add to AC from memory (h) Partial list of opcodes 600 601 602 Memory 3009 5888 2889 CPU registers 600 PC . IR 888 889 0008 TO Devices COOB ] Dev 9 (All mumbers are in hexadecimal) (v) Contents of memory, registers and I/O devices at start of program Figure Q2 87 8 bits Bit 15 8 bits Mantissa (M) is an unsigned fixed-point fraction Exponent(E) is in 2's complement Decimal value (0.M) * 25 Figure 010) (7 marks) Question 2 (25 marks) Figure Q2 shows the characteristics of a hypothetical machine, relevant portions of memory, processor registers and some I/O devices. For the instruction format shown in Figure Q2(0), if it is an I/O instruction, bits 4 to 15 identifies a particular 1/O device, else a memory address. Bit 0 15 Opcode Meanory address of 10 derece number fi) Instruction format 1 Bit o Sian Magnitsde (ii) Integer format Program counter (PC)= Address of wastruction Accumulator (AC) = Temporary storage Instruction register (IR) = Instruction being executed (iii) Internal CPU registers 0010 = Store AC to memor 0011 = Lead AC from 10 0101 = Add to AC from memory (h) Partial list of opcodes 600 601 602 Memory 3009 5888 2889 CPU registers 600 PC . IR 888 889 0008 TO Devices COOB ] Dev 9 (All mumbers are in hexadecimal) (v) Contents of memory, registers and I/O devices at start of program Figure Q2

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

1 2 3 Data Base Techniques

Authors: Dick Andersen

1st Edition

0880223464, 978-0880223461

More Books

Students also viewed these Databases questions