I think it mean immediate instruction

https://www.studytonight.com/computer-architecture/addressingmodes-instructioncycle

The Gateway to Computer Science Excellence

+1 vote

0

I think it mean immediate instruction

https://www.studytonight.com/computer-architecture/addressingmodes-instructioncycle

0

No,as given multiply and addition operation are executing using register addressing mode.i m not able to understand meaning of underlined line.

+3 votes

Best answer

Expression- $XY + XYZ +YZ$

Initially,

$X$ is in $R_0$,

$Y$ is in $R_1$,

$Z$ is in $R_2$.

$MUL \ \ R_0, \ R_1, \ R_4$ // *1 clock cycle* * *** (XY)**

$MUL \ \ R_1, \ R_2, \ R_5$ //* 1 clock cycle *** (YZ)**

$MUL \ \ R_4, \ R_2, \ R_6$ //* 1 clock cycle ***(XYZ)**

$ADD \ \ R_4, \ R_5, \ \color{Red}{R_7}$ //* 2 clock cycle ***(XY + YZ)**

$ADD \ \ \color{Red}{R_7} \ R_6, \ R_8$ //* 1 clock cycle ***(XY + XYZ + YZ)**

Total 6 clock cycles.

- All categories
- General Aptitude 1.8k
- Engineering Mathematics 7.4k
- Digital Logic 2.9k
- Programming and DS 4.9k
- Algorithms 4.4k
- Theory of Computation 6.2k
- Compiler Design 2.1k
- Databases 4.1k
- CO and Architecture 3.4k
- Computer Networks 4.1k
- Non GATE 1.5k
- Others 1.7k
- Admissions 595
- Exam Queries 576
- Tier 1 Placement Questions 23
- Job Queries 72
- Projects 17

50,666 questions

56,131 answers

193,669 comments

93,303 users