RISC

risc-and-cisc-computes

Write a RISC & CISC-style program that computes the expression SUM = 580 + 68400 + 80000

RISC-style program: A RISC-style program that computes SUM = 580 + 68400 + 80000   Move R2, #NUMBERS Get the address of the numbers.   Load R3, (R2) Load 580   Load R4, 4(R2) Load 68400   Add R3, R3, R4 Generate 580 + 68400   Load R4, 8(R2) Load 80000   Add R3, R3,

Write a RISC & CISC-style program that computes the expression SUM = 580 + 68400 + 80000 Read More »

Scroll to Top