2017 Spring EEE212 Microprocessors Quiz 1
Section 2 Duration: 25 Minutes
Students can use the Atmel Instruction Set (with no hand-written notes) in the exam
Use of calculators and cellular phones NOT allowed
1. (60 pts) Write an 8051 assembly language sub
2017 Spring EEE212 Microprocessors Quiz 1
Section 1
Duration: 25 Minutes
Students can use the Atmel Instruction Set (with no hand-written notes) in the exam
Use of calculators and cellular phones NOT allowed
1. (60 pts) Write an 8051 assembly language sub
EEE 212 MICROPROCESSORS
QUIZ 1 SOLUTIONS SECTION 1
1)
We have an ATMEL chip AT89S52 clocked with 24 MHz.
In AT89S52 we have 1 MC = 12 CP which means;
1 =
1
12 = 0.5
24
We need a delay of 20 mins which means we need;
2060
= 2.4109
0.5
We have the inne
EEE 212 MICROPROCESSORS
QUIZ 1 SOLUTIONS SECTION 4
1)
We have an ATMEL chip AT89S52 clocked with 6 MHz.
In AT89S52 we have 1 MC = 12 CP which means;
1 =
1
12 = 2
6
2.5 KHz binary waveform with a duty cycle of 50% is as following:
So, we need a delay of
EEE 212 MICROPROCESSORS
QUIZ 1 SOLUTIONS SECTION 2
Note: DJNZ instruction takes 4 MCs in DS89C430 however, it is given as 3 MCs by your lab TA.
Hence the solutions will be based upon this.
1)
We have a DALLAS chip DS89C430 clocked with 20 MHz.
In DS89C430
2017 Spring EEE212 Microprocessors Quiz 1
Section 3, Duration: 25 Minutes
Students can use the Atmel Instruction Set (with no hand-written notes) in the exam
Use of calculators and cellular phones NOT allowed
1. (50 pts) Write an 8051 assembly language su
2017 Spring EEE212 Microprocessors Quiz 1
Section 4, Duration: 25 Minutes
Students can use the Atmel Instruction Set (with no hand-written notes) in the exam
Use of calculators and cellular phones NOT allowed
1. (50 pts) Write an Atmel AT89S52 assembly la
2017 Spring EEE212 Microprocessors Quiz 2
Section 1
Duration: 25 Minutes
Students can use the Atmel Instruction Set (with no hand-written notes) in the quiz
Use of calculators and cellular phones NOT allowed
1. (100 pts) Assume there are three 3 byte pack
EEE 212 MICROPROCESSORS
QUIZ 1 SOLUTIONS SECTION 3
1)
We have an ATMEL chip AT89S52 clocked with 24 MHz.
In AT89S52 we have 1 MC = 12 CP which means;
1 =
1
12 = 0.5
24
We need a delay of 60 secs which means we need;
60
= 1.2108
0.5
We have the innerm
2017 Spring EEE212 Microprocessors Quiz 2
Section 1
Duration: 25 Minutes
Students can use the Atmel Instruction Set (with no hand-written notes) in the quiz
Use of calculators and cellular phones NOT allowed
1. (100 pts) Assume there are three 3 byte pack
Zayan Ahsan
21403073
Section 02
Matlab Homework
1)a) H8=hilb(8);
H12=hilb(12);
H15=hilb(15);
b) p=rref(H8);
q=rref(H12);
r=rref(H15);
y= det(p);
g=det (q);
s= det (r);
Since the determinant calculated for the order 8 matrix is non-zero and we cannot find
Fizzah Junaid
21503737
Math 242-02
Matlab Homework
Q1.
a)
H8=hilb(8) %produces a matrix of order 8
H12=hilb(12) %produces a matrix of order 8
H15=hilb(15) %produces a matrix of order 8
b)
Sol8=rref(H8) 0inds the Gauss reduction for this matrix
A = det(Sol
Important notice
Dear Customer,
On 7 February 2017 the former NXP Standard Product business became a new company with the
tradename Nexperia. Nexperia is an industry leading supplier of Discrete, Logic and PowerMOS
semiconductors with its focus on the aut
Important notice
Dear Customer,
On 7 February 2017 the former NXP Standard Product business became a new company with the
tradename Nexperia. Nexperia is an industry leading supplier of Discrete, Logic and PowerMOS
semiconductors with its focus on the aut
Important notice
Dear Customer,
On 7 February 2017 the former NXP Standard Product business became a new company with the
tradename Nexperia. Nexperia is an industry leading supplier of Discrete, Logic and PowerMOS
semiconductors with its focus on the aut
LabWork 3
Combinational Circuit Design
Baris F. Unsal
8.3.17
Abstract:
In this experiment, the circuit, which has a lamp , is going to examined whether its lamp is on or
off. While constructing the circuit truth table, and/or gates, and Karnaugh map will
B ILKENT U NIVERSITY E LECTRICAL AND E LECTRONICS E NGINEERING D EPARTMENT
EEE - 321: Signals and Systems
Lab Assignment 4
Please carefully study this assigment before coming to the laboratory. You may begin
working on it or even complete it if you wish,
B ILKENT U NIVERSITY E LECTRICAL AND E LECTRONICS E NGINEERING D EPARTMENT
EEE - 321: Signals and Systems
Lab Assignment 7
Please carefully study this assignment before coming to the laboratory. You may begin
working on it or even complete it if you wish,
B ILKENT U NIVERSITY E LECTRICAL AND E LECTRONICS E NGINEERING D EPARTMENT
EEE - 321: Signals and Systems
Lab Assignment 1
Please carefully study this assingment before coming to the laboratory. You may begin
working on it or even complete it if you wish,
B ILKENT U NIVERSITY E LECTRICAL AND E LECTRONICS E NGINEERING D EPARTMENT
EEE - 321: Signals and Systems
Lab Assignment 5
Please carefully study this assigment before coming to the laboratory. You may begin
working on it o even complete it if you wish, b
B ILKENT U NIVERSITY E LECTRICAL AND E LECTRONICS E NGINEERING D EPARTMENT
EEE - 321: Signals and Systems
Lab Assignment 2
Please carefully study this assignment before coming to the laboratory. You may begin
working on it or even complete it if you wish,
B ILKENT U NIVERSITY E LECTRICAL AND E LECTRONICS E NGINEERING D EPARTMENT
EEE - 321: Signals and Systems
Lab Assignment 3
Please carefully study this assingment before coming to the laboratory. You may begin
working on it or even complete it if you wish,
B ILKENT U NIVERSITY E LECTRICAL AND E LECTRONICS E NGINEERING D EPARTMENT
EEE - 321: Signals and Systems
Lab Assignment 6
Please carefully study this assigment before coming to the laboratory. You may begin
working on it or even complete it if you wish,
EEE 321 - Section 1
Lab 3 - Post Quiz
23.11.2016
Name:
Student ID:
Note: In Matlab based questions, write an efficient code. Even if your code runs properly, you
may lose grade if your code uses memory inefficiently or consumes too much time.
In calculati
EEE 321 - Section 2
Lab 3 - Post Quiz
24.11.2016
Name:
Student ID:
Note: In Matlab based questions, write an efficient code. Even if your code runs properly, you
may lose grade if your code uses memory inefficiently or consumes too much time.
In calculati
mam 8E 2989 >nEk MRPWW,
but a - HUB DEN madman, HO
5.5.83
H: 392% $53 $53.55? 94:5 mb mammb comm. ESE pm USE. comm HEE 906ng was Em?
Ema mama. E SE: 00% ES 595on Hmmgq OH 85338 30 Eo 98m.
H5 nEoEmo Ummma admmom 352 M05, .2on mm mmwwdmoa 931%.
H. Em E33
EEE 212 Microprocessors
FALL 2013-2014
HOMEWORK 1
Install MCU 8051 IDE (Integrated Development Environment) in your Windows/Linux
machine. For Windows users you may also need to install ActiveTcl for the IDE to
work.
You need to debug your programs in the
EEE 212 Microprocessors
FALL 2013-2014
HOMEWORK 2
Q1) Write a 8051 subroutine with the name COUNT that will count the number of
occurences of the string abc in the 64 KB external memory. The decimal count will be
written as a packed BCD number in R1:R2. F
Features
Compatible with MCS51 Products
12K Bytes of In-System Programmable (ISP) Flash Program Memory
SPI Serial Interface for Program Downloading
Endurance: 10,000 Write/Erase Cycles
2K Bytes EEPROM Data Memory
Endurance: 100,000 Write/Erase Cycles