0% found this document useful (0 votes)
45 views

Tugas-CE332-T02-Computer Structure Execution

This document provides instructions for Assignment 2 in the course CE332 Computer Architecture & Organization. Students are asked to submit a PDF report answering two review questions about instruction execution states and interrupt handling approaches. The report should be concise and formatted nicely. Working with others is allowed but own understanding must be demonstrated in own words. The report will be graded based on conceptual understanding, answer accuracy, and completeness/neatness of the report. An example of instruction execution steps for a sample program is provided to illustrate the process using CPU registers like PC, IR, AC, MAR and MBR.

Uploaded by

Nep Nep
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views

Tugas-CE332-T02-Computer Structure Execution

This document provides instructions for Assignment 2 in the course CE332 Computer Architecture & Organization. Students are asked to submit a PDF report answering two review questions about instruction execution states and interrupt handling approaches. The report should be concise and formatted nicely. Working with others is allowed but own understanding must be demonstrated in own words. The report will be graded based on conceptual understanding, answer accuracy, and completeness/neatness of the report. An example of instruction execution steps for a sample program is provided to illustrate the process using CPU registers like PC, IR, AC, MAR and MBR.

Uploaded by

Nep Nep
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

CE332 Computer Architecture &

Organization - Assignment 2
Submission
Submit your answer in a nicely formatted PDF report (see the grading criteria) in E-learning. Try to answer them in
a concise manner. Working with your friends / other groups is fine, as long as you describe your understanding in
the report with your own words.

Objectives
● (SUB-CPMK 3) Mahasiswa mampu menjelaskan komponen-komponen utama penyusun komputer – C2

Grading Criteria
● Pemahaman konsep (langkah tepat) (50%)
● Ketepatan jawaban (30%)
● Kelengkapan & kerapian laporan (ilustrasi, deskripsi) (20%)

Review Question

Description
A. Review Question
Discuss and answer these questions (source: reference book).

3.2 List and briefly define the possible states that define an instruction execution.

3.3 List and briefly define two approaches to dealing with multiple interrupts.

B. Exercise – instruction execution


Assume a 16-bit computer which has a structure as follows.

A. Memory format for instruction and data (signed number)


B. Internal CPU registers C. List of opcodes (instructions)
● Program Counter (PC) = Address of instruction ● 0001 (0x1) = Load to AC from Memory
● Instruction Register (IR) = Instruction being executed ● 0010 (0x2) = Store from AC to Memory
● Accumulator (AC) = Temporary storage ● 0101 (0x5) = Add to AC from Memory
● Memory Address Register (MAR) = Address to access
in memory
● Memory Buffer Register (MBR) = Data fetched from /
to write to memory

Based on the computer description above, show the program execution steps for this program below. Use the
format used in Figure 3.5 (see textbook / lecture slides) but extend it with MAR and MBR. That is, also show the
process of accessing memory with MAR and MBR.

Program to execute

Program is in address 200-203, data is in memory address 850 onwards.

Hint: signed number

Memory CPU registers


address (hex) (hex)
200 1850
201 5851
202 5852
203 2853

850 0005
851 000F
852 FFFB
853 00D2

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy