Professional Documents
Culture Documents
Microprocessors Part1
Microprocessors Part1
MICROPROCESSORS
DR. OĞUZHAN MENEMENCIOĞLU
OUTLINE
Introduction to Course
The Syllabus
About course
Textbook Introduction to Microprocessors
General guidelines and policies Number systems & operations
Tentative grading A basic overview of computer architecture
Let’s Just remember!
Content
2/90
OUTLINE
Number Systems
Digits
Positional Notation
Conversion from Decimal
Conversion to Decimal
Whole Number Conversion from Decimal
Converting from a Decimal Fraction
Binary-Coded Hexadecimal
Complements
3/90
INTRODUCTION
WEEK 1
THE SYLLABUS
5/90
ABOUT COURSE
6/90
TEXTBOOK
USEFUL BOOKS
Microprocessor Architecture, Programming, and Applications with the 8085 by Ramesh S. Gaonkar, Prentice Hall, 5th
Edition. 7/90
X86 Tabanlı Mikroişlemci Mimarisi ve Assembly Dili, by Nurettin Topaloğlu, Seçkin Yayıncılık, 3. basım (In Turkish)
GENERAL GUIDELINES AND POLICIES
▪ Generally a quiz each week. Quiz will not necessarily be announced each week. NO MAKEUP QUIZZES
▪ Homework due prior midnight of the next classes after assigned. Homework will be delivered by submitting to
Turnitin. Turnitin will close on due date. NO LATE HOMEWORKS will be accepted by system. No submissions
after due date via email will be graded.
▪ Midterm and Final exam will be announced by deanery.
8/90
TENTATIVE GRADING
Grading
Midterm: 40%
Exam: 85%
Lab-Assignments-Quiz 15% (Max.)
Final: 60%
Exam: 85%
Lab-Assignments-Quiz 15% (Max.)
Attendance is required in all course hours and labs for new students.
9/90
LET’S JUST REMEMBER!
TRANSFORMATION HIGH LEVEL COMPUTER LANGUAGES TO MACHINE LANGUAGE
COMPUTER LANGUAGES
11/90
EXAMPLE
Memory addresses Machine Language Assembly
Instructions Language
Instructions
00000000 00000000 CLA
00000001 00010101 ADD A
00000010 00010110 ADD B
00000011 00110101 STA A
00000100 01110111 HLT
00000101 ? A?
00000110 ? B? 12/90
13/90
EXAMPLE OF COMPUTER LANGUAGES
char name[40];
C Source Code: printf("Please enter your name\n");
scanf("%s", name);
printf("Hello %s", name);
68 4C 36 41 00 FF 15 94 51 41 00 83 C4 04 8D 45 D8
Machine Code: 50 68 48 36 41 00 FF 15 9C 51 41 00 83 C4 08 8D 45
14/90
D8 50 68 3C 36 41 00 FF 15 94 51 41 00 83 C4 08
CONTENT
SYNOPSIS
16/90
OUTCOMES
17/90
COURSE OVERVIEW
18/90
LET’S WARM UP!
INITIAL QUESTIONS
20/90