
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN: 9780133594140
Author: James Kurose, Keith Ross
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Question

Transcribed Image Text:1. write assembly program to calculate factorial of
unsigned integer number entered from keyboard.
(use the same machine architecture defined in the
tool "CPU sim" with addition to CPU general
purpose registers R0 , R1 (16 bits each) and the
following instruction set:
Read , Write , Mult x , Load x , Store x , Add x ,
Sub x
End , JMPGZ x (jump to location x if
AC>1)
2. Repeat the Task using single instruction set: Fact x
with any defined architecture
3. Compare between the two architecture based on
(Instruction and program complexity , Memory
consumed )
4. Which one of the two architectures defined in 1 and
2 can be considered as RISC and which one is
CISC? explain.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution
Trending nowThis is a popular solution!
Step by stepSolved in 3 steps with 2 images

Knowledge Booster
Similar questions
- 3. Compile the following high-level code into RISC-V pseudo assembly language. Assume variable a and val are stored in memory as words. Make sure you load these values into registers before you use them and store back any changes to memory. You can use "Iw x5, a" and "sw x5, a" as pseudoinstructions for load and store a word for variable a, considering a is a symbol for the address of the memory that store the value of a. This question is for you to practice using shift-logic instruction, logic (AND, OR, etc) instructions as well as branch instructions. If (a e 30) ( val - (val & exFF00)- 20; else ( val - (val » 12) - 5;arrow_forwardFollowing is the memory map beginning from address 3C00H and increasing addresses to the right , all in hex : 33, 5F, 00, FF, DE, C1, BB, 5E, 77, 95, 8C, ... Write down the value of each register after executing each instruction: MOV SP, -50168 РOP ВХarrow_forwardPlease complete this on assembly lenguage. (irvine library x86) Read in x,y calculate 3x + 2y + xy – 10 = sum Data and variables product1, prodcuct2 ,.tproduct3 ,x,y, sum Calculate multiply 3 by x, 2 by y, and x by y Add procuct1 + product2 + product3, then subtract 10. Put result into sum Print product1, plus, product2, plus,product3, minus, 10, equals , sum Dw string dw string dw string dw string dwarrow_forward
Recommended textbooks for you
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY

Computer Networking: A Top-Down Approach (7th Edi...
Computer Engineering
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:PEARSON

Computer Organization and Design MIPS Edition, Fi...
Computer Engineering
ISBN:9780124077263
Author:David A. Patterson, John L. Hennessy
Publisher:Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:9781337569330
Author:Jill West, Tamara Dean, Jean Andrews
Publisher:Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:9781337093422
Author:Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:9780133750423
Author:VENIT, Stewart
Publisher:Pearson Education

Sc Business Data Communications and Networking, T...
Computer Engineering
ISBN:9781119368830
Author:FITZGERALD
Publisher:WILEY