Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please answer the question completely for the two tables attached i will be grateful for your support and your time thanks Single Cycle CPU- 2

please answer the question completely for the two tables attached

i will be grateful for your support and your time

thanks

Single Cycle CPU- 2 digital systems

image text in transcribedimage text in transcribedimage text in transcribed FIGURE 8-15 Block Diagram for a Single-Cycle Computer TABLE 8-8 Instruction Specifications for the Simple Computer \begin{tabular}{|c|c|c|c|c|c|} \hline Instruction & Opcode & \begin{tabular}{l} Mne- \\ monic \end{tabular} & Format & Description & \begin{tabular}{l} Status \\ Bits \end{tabular} \\ \hline Move A & 0000000 & MOVA & RD,RA & R[DR]R[SA] & N,Z \\ \hline Increment & 0000001 & INC & RD,RA & R[DR]R[SA]+1 & N,Z \\ \hline Add & 0000010 & ADD & RD, RA, RB & R[DR]R[SA]+R[SB] & N,Z \\ \hline Subtract & 0000101 & SUB & RD, RA, RB & R[DR]R[SA]R[SB] & N,Z \\ \hline Decrement & 0000110 & DEC & RD,RA & R[DR]R[SA]1 & N,Z \\ \hline AND & 0001000 & AND & RD,RA,RB & R[DR]R[SA]R[SB] & N,Z \\ \hline OR & 0001001 & OR & RD,RA,RB & R[DR]R[SA]R[SB] & N,Z \\ \hline Exclusive OR & 0001010 & XOR & RD, RA, RB & R[DR]R[SA]R[SB] & N,Z \\ \hline NOT & 0001011 & NOT & RD,RA & R[DR]R[SA] & N,Z \\ \hline Move B & 0001100 & MOVB & RD,RB & R[DR]R[SB] & \\ \hline Shift Right & 0001101 & SHR & RD,RB & R[DR]srR[SB] & \\ \hline Shift Left & 0001110 & SHL & RD,RB & R[DR]slR[SB] & \\ \hline \begin{tabular}{l} Load \\ Immediate \end{tabular} & 1001100 & LDI & RD,OP & R[DR]zfOP & \\ \hline Add Immediate & 1000010 & ADI & RD, RA, OP & R[DR]R[SA]+zfOP & N,Z \\ \hline Load & 0010000 & LD & RD,RA & R[DR]M[SA] & \\ \hline Store & 0100000 & ST & RA,RB & M[SA]R[SB] & \\ \hline Branch on Zero & 1100000 & BRZ & RA,AD & \begin{tabular}{l} if (R[SA]=0)PCPC+ se AD, \\ if (R[SA]=0)PCPC+1 \end{tabular} & N,Z \\ \hline \begin{tabular}{l} Branch on \\ Negative \end{tabular} & 1100001 & BRN & RA,AD & \begin{tabular}{l} if (R[SA]

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

Students also viewed these Databases questions