




















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





















































Room: E3- Phone: 03-8921 6726 [email protected] Associate Professor Dr Masri Ayob
22
Text books: (^) Gaonkar, R. S. (2002). “Microprocessor architecture, programming, and application with the 8085”, 5th edition, Prentice Hall. (^) Brey, B. B. (1993). “The 8085A microprocessor software, programming and architecture”, 2nd edition, Prentice Hall.. (^) Class: (^) Thursday 8:00am - 10:00am BK (^) Thursday 10:00am - 11:00am BK (^) Lab: (^) Will be announced (^) Course website: portal TK2633 (http://www.ftsm.ukm.my/masri/TK2633) portal TK2633 (http://www.ftsm.ukm.my/masri/TK2633)
44
(^) The microprocessor is a general-purpose programmable logic device. (^) Understanding the microprocessor concepts is crucial in understanding the operation of digital computer. (^) This course is an introduction to the basic concept of microprocessor architecture and operation, programming model, pins configuration and microprocessor interfacing. (^) The content of the course is divided into three sections: (^) microprocessor architecture, (^) programming and (^) interfacing input/output. (^) The course is designed around the Intel 8-bit microprocessor (8085A) and its assembly language.
55
At the end of the course, student should be: (^) Able to understand the basic operation of microprocessor. Able to understand the basic concept of microprocessor architecture and its pins configuration. (^) Able to understand the machine language programs. (^) Able to design and write programs in assembly language. (^) Able to understand the basic concept of microprocessor input/output interfacing
77
Even though the program consists of very simple instructions, the overall result can be very impressive, due mostly to the speed at which the computer can process the instructions. (^) Even though each step in the program is very simple, the sequence of instructions, executing at millions of steps per second, can appear to be very complicated, when taken as a whole. The trick is not to think of it as a whole, but as a series of very simple steps, or commands.
88
(^) The microprocessor itself is usually a single integrated circuit (IC). (^) Most microprocessors (MPU), or very small computers, have much the same commands or instructions that they can perform. (^) They vary mostly in the names used to describe each command. (^) In a typical MPU, there are commands to move data around, do simple math (add, subtract, multiply, and divide), bring data into the micro from the outside world, and send data out of the micro to the outside world. (^) Sounds too simple....right?.
1010
(^) A typical MPU has three basic parts inside. They are: (^) the Program Counter (PC) (^) Memory, and (^) Input / Output (I/O). The Program Counter keeps track of which command is to be executed. The Memory contains the commands to be executed. The Input / Output handles the transfer of data to and from the outside world (outside the MPU physical package). There are many other actual parts inside the MPU, however, we will learn about every single one, one step at a time.
1111
Nowadays, the microprocessor is being used in a wide range of products called microprocessor- based products or systems. The microprocessor can he embedded in a larger system, can be a stand alone unit controlling processes, or it can function as the CPU of a computer called a microcomputer.
1313
A typical programmable machine can be represented with four components: microprocessor, memory, input, and output. These four components work together or interact with each other to perform a given task; thus, they comprise a system. The physical components of this system are called hardware. A set of instructions written for the microprocessor to perform a task is called a program, and a group of programs is called software.
1414
The microprocessor applications are classifiedThe microprocessor applications are classified primarily in two categories: primarily in two categories: reprogrammable systems andreprogrammable systems and embedded systems.embedded systems.
1616
In embedded systems, the microprocessor is aIn embedded systems, the microprocessor is a part of a final product and is not available for part of a final product and is not available for reprogramming to the end user. Example: reprogramming to the end user. Example: copying machinecopying machine washing machine.washing machine. Air-conditionerAir-conditioner Etc.Etc.
1717
Microprocessor (MPU) - a semiconductor deviceMicroprocessor (MPU) - a semiconductor device (integrated circuit) manufactured by using the (integrated circuit) manufactured by using the LSI technique. LSI technique. It includes the ALU, register arrays, and controlIt includes the ALU, register arrays, and control circuits on a single chip. circuits on a single chip. CPU - the central processing unit.CPU - the central processing unit. The group of circuits that processes data andThe group of circuits that processes data and provides control signals and timing. It includes the provides control signals and timing. It includes the arithmetic/logic unit, registers, instruction decoder, arithmetic/logic unit, registers, instruction decoder, and the control unit. and the control unit. Microcontroller - a device that includesMicrocontroller - a device that includes microprocessor, memory, and I/O signal lines on microprocessor, memory, and I/O signal lines on a single chip, fabricated using VLSI technology. a single chip, fabricated using VLSI technology.
1919 Traditional block diagram of a computer
2020 Block diagram of a computer with the microprocessor as a CPU