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

Cpe-310 Mid Semester Exam Sample: Name

1. The document is a sample midterm exam for a computer architecture course. It contains 10 multiple choice and short answer questions testing knowledge of computer architecture topics like Von Neumann architecture, the 8086 computer architecture, assembly language programming, and addressing modes. 2. The questions cover drawing computer architecture diagrams, writing assembly language programs, hand assembling programs to machine code, calculating effective memory addresses, and converting jump instructions to binary. 3. Scores are reported as a percentage with the exam being worth a total of 100+ points.

Uploaded by

Iyere Patrick
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Cpe-310 Mid Semester Exam Sample: Name

1. The document is a sample midterm exam for a computer architecture course. It contains 10 multiple choice and short answer questions testing knowledge of computer architecture topics like Von Neumann architecture, the 8086 computer architecture, assembly language programming, and addressing modes. 2. The questions cover drawing computer architecture diagrams, writing assembly language programs, hand assembling programs to machine code, calculating effective memory addresses, and converting jump instructions to binary. 3. Scores are reported as a percentage with the exam being worth a total of 100+ points.

Uploaded by

Iyere Patrick
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5

1

Name: __________________

CpE-310

Mid Semester Exam

Sample

As usual, no notes, no books, no hats, no cell phones, no calculators, no electronics, no cheating, etc.

I hereby state that I will not, am not, and did not copy from any other person in my class nor did I in anyway obtain assistance or cheat on this exam. Signed _____________________________________

Learning Outcome

The student shall be able to

1. a) draw an overall computer architecture diagram 1. a) draw an overall computer architecture diagram 1. b) draw a detailed architecture diagram of the INTEL-8086 1. a) draw an overall computer architecture diagram 2. a) write a program in assembly language for the INTEL 80x86 1. b) use all addressing modes. 2. b) hand assemble to machine code. 2. b) hand assemble to machine code. 1. b) use all addressing modes. 1 h) draw the Interrupt process flow Total

Prob # 1a 1 1a 1b 1a 2a 1b 2b 2b 1b 1h 2 3 4 5 6 7 8 9 10

% 5 5 20 5 10 10 20 10 10 5 100+

Score

Name:______________
Test #1
Bit Nibble Byte Word

CpE-310
1. 5% What is

Mar 1, 2010

2. 5% Draw a diagram of VonNeuman architecture computer

3. 20% Draw a detailed diagram of the 8086 computer.

3 4. 5% Draw a diagram of a Harvard architecture computer.

5. 10% Write an assembly language program located at 3F7E:0210 to move the number 0x2010 to the BX register. Then move the result to the memory location 3F7E:0000. Then XOR the contents of the AH register with the contents of the CH register putting the result in the AH register.

6. 10% What is the effective address if the CS:IP is (show your work!) a. 4000:37A2 _________ b. ABCD:5123 _________

7. 20 % Convert the following programs to its binary form (i.e. hand assemble.) Put this program in memory. Assume CS= 3000, DS = 4000, SS = 9000 a. 5%
Address Contents BEGIN ORG MOV 0602 H AH,BC

b.5% Address Contents START ORG MOV D000H AH,D2

c. 5% Address Contents BEGIN ORG 1700 H MOV CX,1234 MOV CH,[BX]

d. 5% Address Contents BEGIN ORG 2000H OR CL,73

8. 10 % Convert the following jump instruction into binary. a. 5% ADDR contents 0310 0311 0312 0313 0314 0315 0316 b. 5% ADDR contents 0300 0301 0302 0303 0304 0305 0306 Instruction JMP to location 02AF Instruction JMP to location 0315

5
9.

10% What is the effective address if when AX = 2000 BX = A000 CX = 3000 CS = 4000 DX = 5000 DI = 6000 DS = 7000 SI = 8000 SS = 9000 Disp = 0044 a) r/m = 000 then EA = ?

b)

r/m = 101 then EA = ?

You might also like