Question

In: Computer Science

Question 3 (a) Identify the location of the following corresponding operand if the address field in...

Question 3
(a) Identify the location of the following corresponding operand if the address field in an instruction contains decimal value 15.
i. immediate addressing
ii. direct addressing
iii. indirect addressing
iv. register addressing
v. register indirect addressing

(b) Differentiate the characteristics between CISC and RISC architecture.

(c) Discuss the stages involved in fetch-decode-execute cycles.

Solutions

Expert Solution

Solution

Part 1

Immediate 15 is the operand

In immediate addressing mode data is present in address field of instruction

Direct Data is present in memory location 15

In direct addressing mode the effective address of the data is present in address part of the instruction.So only one memory reference operation is required to access the data.

Indirect Data is present in the address stored in memory location 15

In this mode address field of instruction contains the address of effective address.So two memory references are required for indirect addressing.

Register Data is present in the register denoted in the address part of the instruction

In register addressing mode, data is present in the register mentioned in the instruction.

Register Indirect Addressing Data is prsent in the address stored in the register mentioned in the address part of the instruction In this mode effective address is in the register, and corresponding register name will be maintained in the address field of an instruction, which requires one register and one memory reference.

Part 2

RISC CISC
Instructions are simple and standardized CISC supports complex and variable length instructions.
Small number of fixed length instructions Large number of instructions.
Instructions take single cycle for execution Instructions can take several clock cycles.
Pipelining is easy Pipelining is difficult
RISC uses more registers CISC uses less number of registers.

Part 3

Fetch Cycle

Program counter stores the address of the next instruction to be executed. In the fetch cycle next instruction is fetched from the memory address that is currently stored in the program counter and stored into the instruction register. When fetch operation ends, the value stored in PC is updated and PC points to the instruction to be executed next. .

Decode Cycle

In this stage, the instruction presented in the instruction register is interpreted by the decoder and also any data required by the instruction is fetched from the memory or register and stored in the Data register

Execute Cycle

This step includes performing arithmetic on operand data or the logical functions and writing the result from accumulator to the memory or register.


Related Solutions

i)In a computer, an instruction is composed of two fields: the opcode and an operand address....
i)In a computer, an instruction is composed of two fields: the opcode and an operand address. what is the minimum size of your instruction in bits if an instruction set of 327 opcodes and an address space of 128 Mbytes is required? NB. Use 1 Mbyte = 2^20 bytes ii) Instead of hard-writing the units, the software is used to interpret and execute instructions in a general-purpose system. Is the statement true or false
Watch the State of the Union address and do the following: 1. Identify at 3 public...
Watch the State of the Union address and do the following: 1. Identify at 3 public health policy statements that President Trump made. 2. For each statement, identify what President Trump believes is the public health problem. 3. For each statement, identify what President Trump believes the solution should be. 4. Do you agree or disagree? Why? The State of the Union address. Here is the links on YouTube : President Trump 2018 State of the Union Address (C-SPAN) (Links...
Address the following question. Use at least 250 words to address this question. How does the...
Address the following question. Use at least 250 words to address this question. How does the interactions between parasite or predator host affect how susceptible the crop is to the pests and how the interactions may be used as elements of a control program.
Identify the atom or ion corresponding to each of the following descriptions. (a) An atom with...
Identify the atom or ion corresponding to each of the following descriptions. (a) An atom with ground-state electron configuration [Xe]4f145d106s26p3 Atom symbol = (b) An ion with charge +2 and ground-state electron configuration [Kr]4d2 Ion symbol = (c) An ion with charge -2 and ground-state electron configuration [Ne]3s23p6 Ion symbol =
Enter the letters corresponding to all the true statements. 1. At a certain location there is...
Enter the letters corresponding to all the true statements. 1. At a certain location there is a constant horizontal magnetic field pointing to the east. A square loop of wire is placed in this field. At time A the bottom of the loop is resting on the floor (which is insulating), and the plane of the square loop is vertical and perpendicular to the magnetic field. The loop tips over and at time B it is flat on the floor....
identify 3 primary client problems to address with patient with delirium due to alcohol withdrawal?
identify 3 primary client problems to address with patient with delirium due to alcohol withdrawal?
Question 3 There are certain instances where merging (combining) the location of services operations can be...
Question 3 There are certain instances where merging (combining) the location of services operations can be desirable. However, the separate locations mean less travel time for workers, but sometimes there will be a waiting line at one location while servers are idle at another location. Q4.1) What factors should an analysis of this sort of situation take into account in deciding on whether to keep separate locations or pool services servers and equipment at one central location? Q4.2) What factors...
For the following case situation, address the following issues in short essay format. Identify the ethical...
For the following case situation, address the following issues in short essay format. Identify the ethical dilemma--Identify and analyze primary and secondary issues related to this ethical dilemma and impact on various stakeholders. Analyze the ethical alternatives--Analyze alternative resolutions to this ethical dilemma, the impact on various stakeholders, and the reasons specific stakeholders prefer each alternative. Resolution of the ethical dilemma--Use an ethical framework to determine the most appropriate resolution of this ethical dilemma. George Hawkins is the controller of...
What direction is the magnetic field at the location of the proton at the instant shown in the picture?
A wire carries current directed out of the page. A proton travels near the wire as shown in the picture. What direction is the magnetic field at the location of the proton at the instant shown in the picture?Zero Down To the left Out of the page Up To the right Into the page In the same scenario as the previous question, what is the direction of the magnetic force on the proton? Into the page Out of the page Up Down To the left To the right Zero A negatively charged particle is...
Find the electric field at the location of Qa. given that qb = +8.10 µC and...
Find the electric field at the location of Qa. given that qb = +8.10 µC and qc = –5.50 µC. Point charges located at the corners of an equilateral triangle 22.0 cm on a side.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT