Machine-Instructions
December 4, 2023
Software-Engineering
December 4, 2023
Machine-Instructions
December 4, 2023
Software-Engineering
December 4, 2023

Question 439 – Machine-Instructions

A CPU has 24-bit instructions. A program starts at address 300 (in decimal). Which one of the following is a legal program counter (all values in decimal)?

Correct Answer: C

Question 40 Explanation: 
C.P.U will use 24- bit instructions and instructions size(bytes) is 24/8 = 3 bytes

Program execution will start from address at 300 and from there on words every operation will takes 3- bytes and so on , So the address should be multiple of “3”. From the given options only 600 address value is valid.

A
400
B
500
C
600
D
700

Leave a Reply

Your email address will not be published. Required fields are marked *