Docsity

GUIDELINES FOR CSA 2024, Cheat Sheet of Computer Science

Toggle sidebar
bg1
Instruction format
12 11 0
15
Memory
4096 words
16 bits per
word
Discipline Specific Core Course - (DSC) Credit: 04 (B.Sc. Program/B.Sc.
Mathematical Science) Semester III, Computer System Architecture
S.
No.
Chapter Number and Name
Section Numbers
Reference
1
Ch 1: Digital Logic Circuits
1.1, 1.2, 1.3, 1.4, 1.5, 1.6(up to pg.26), 1.7 (up to pg. 28)
[1]
1.1, 1.2, 1.3, 1.4, 1.5, 1.6(up to pg.26), 1.7 (up to pg. 29)
[2]
2
Ch 2: Digital Components
2.2, 2.3, 2.7
[1], [2]
3
Ch 3: Data Representation
3.1, 3.2, 3.3
[1],[2]
4
Ch 4: Register Transfer and
Microoperations
4.4 (up to fig. 4.8)
[1],[2]
5
Ch 5: Basic Computer Organization
and Design
5.1, 5.2, 5.3, 5.5, 5.6, 5.7, 5.8
[1],[2]
6
Ch 8: Central Processing Unit
8.5
[1],[2]
7
Ch 11: Input Output Organization
11.2 (up to pg. 388), 11.4, 11.6 (up to pg. 416)
[1]
11.2 (up to pg. 391), 11.4, 11.6 (up to pg. 418)
[2]
References
[1] Computer System Architecture by M. Morris Mano, Third edition, 1993, Prentice Hall of India.
[2] Computer System Architecture by M. Morris Mano, Third edition, 1993, Pearson Education.
Practical
(Use Simulator – CPU Sim 3.6.9 or any higher version for the implementation)
Create a machine based on the following architecture:
Registers
IR DR AC AR PC I E
16 bits
16 bits
16 bits
12 bits
12 bits
1 bit
1 bit
Opcode
Address
pf2

Partial preview of the text

Download GUIDELINES FOR CSA 2024 and more Cheat Sheet Computer Science in PDF only on Docsity!

Instruction format

15 12 11 0 Memory 4096 words 16 bits per word

Discipline Specific Core Course - (DSC) Credit: 04 (B.Sc. Program/B.Sc.

Mathematical Science) Semester III, Computer System Architecture

S.

No. Chapter Number and Name Section Numbers Reference Week 1 Ch 1: Digital Logic Circuits 1.1, 1.2, 1.3, 1.4, 1.5, 1.6(up to pg.26), 1.7 (up to pg. 28) [1] 2 weeks 1.1, 1.2, 1.3, 1.4, 1.5, 1.6(up to pg.26), 1.7 (up to pg. 29) [2] 2 Ch 2: Digital Components 2.2, 2.3, 2.

[1], [2]

2 weeks 3 Ch 3: Data Representation 3.1, 3.2, 3.

[1],[2]

2 weeks 4 Ch 4: Register Transfer and Microoperations 4.4 (up to fig. 4.8)

[1],[2]

3 weeks 5 Ch 5: Basic Computer Organization and Design

[1],[2]

3 weeks 6 Ch 8: Central Processing Unit 8.

[1],[2]

1 week 7 Ch 11: Input Output Organization 11.2 (up to pg. 388), 11.4, 11.6 (up to pg. 416)

[1]

2 weeks 11.2 (up to pg. 391), 11.4, 11.6 (up to pg. 418) [2]

References

[1] Computer System Architecture by M. Morris Mano, Third edition, 1993, Prentice Hall of India.

[2] Computer System Architecture by M. Morris Mano, Third edition, 1993, Pearson Education.

Practical

(Use Simulator – CPU Sim 3.6.9 or any higher version for the implementation)

Create a machine based on the following architecture:

Registers

IR DR AC AR PC I E

16 bits 16 bits 16 bits 12 bits 12 bits 1 bit 1 bit Opcode Address

Basic Computer Instructions

Memory Reference Register Reference Symbol Hex Symbol Hex AND 0xxx Direct Addressing

CLA 7800

ADD 1xxx CLE 7400 LDA 2xxx CMA 7200 STA 3xxx CME 7100 HLT 7001

Refer to Chapter-5 for description of instructions.

Design the register set, memory and the instruction set. Use this machine for the assignments

of this section.

1. Implement fetch sequence

2. Add two numbers when one number is stored in memory and another is entered by the user.

3. Add two numbers when both numbers are taken as inputs from user.

4. Subtract two numbers when one number is stored in memory and another is entered by the user.

5. Subtract two numbers when both numbers are taken as inputs from user

6. Write an assembly program to simulate the following logical operations on two user- entered

numbers.

i.AND

ii.OR

iii.NOT

7. Write an assembly language program to simulate the machine for following register reference

instructions and determine the contents of AC, E, PC, AR, and IR registers in decimal after the

execution:

i. CLE

ii. CLA

iii. CMA

iv. CME

8. Write an assembly language program to simulate the machine for following memory reference

instructions and determine the contents of AC, E, PC, AR, and IR registers in decimal after the

execution:

i. LDA ii. STA iii. BUN