WELCOME LETTER
Office: Room: 112, Daffodil Tower 5
Email: zabirul.cse@diu.edu.bd
Phone: +8801521307471
Course Rationals
Microprocessors and assembly language have been the most used methods of incorporating intelligence into automated devices. It is therefore necessary to develop a good understanding of their operation and how they can be used as building blocks for automated systems and control applications. This course explores the inner workings of a microprocessor from the programmer’s perspective and several laboratory exercises will be based on microprocessors utilizing the assembly language.
Course Objectives
Course Outcomes
TEXT/REFERENCE BOOKS
Assessment Plan
Quick Access Link
Fair child semiconductors (founded in 1957) invented the first Integrated Circuit in 1959 that marked the microprocessor history. In 1968, Gordan Moore, Robert Noyce and Andrew Grove resigned from the Fair child semiconductors and started their own company: Integrated Electronics (Intel). In 1971, the first microprocessor Intel 4004 was invented. A microprocessor is also known as a central processing unit in which numbers of peripherals’ are fabricated on a single chip. It has ALU (arithmetic and logic unit), a control unit, registers, bus systems and a clock to perform computational tasks ...
8086 has two blocks BIU and EU. The BIU performs all bus operations such as instruction fetching, reading and writing operands for memory, and calculating the addresses of the memory operands. The instruction bytes are transferred to the instruction queue..
Assembly programming is low-level programming using some basic syntax to represent machine code for a specific CPU. An assembler is used to translate the assembly code into the machine code for the target computer.
This register is also called the status register. It is a 16-bit register that contains six status flags and three control flags. So, only nine bits of the 16-bit register are defined and the remaining seven bits are undefined. Normally these status flag bits indicate the status of the ALU after the arithmetic or logical operations. Each bit of the status register is a flip/flop. The Flag register contains Carry flag, Parity flag, Auxiliary flag Zero flag, Sign flag , Trap flag, Interrupt flag, Direction flag and overflow flag as shown in the diagram. The CF, PF,AF,ZF,SF,OF are the status flags and the TF, IF and CF are the control flags.
8086 was the first 16-bit microprocessor available in 40-pin DIP (Dual Inline Package) chip. Let us now discuss in detail the pin configuration of a 8086 Microprocessor.
The 8086 microprocessor supports 8 types of instructions −Data Transfer Instructions, Arithmetic Instructions,Bit Manipulation Instructions,String Instructions, Program Execution Transfer Instructions (Branch & Loop Instructions), Processor Control Instructions, Iteration Control Instructions, Interrupt Instruction
As we know that any machine (system) works on machine language, which consists of binary numbers. In the 8086 microprocessor, we have 16-bit registers to handle our data. Sometimes, the need to perform some necessary shift and rotate operations on our data may occur according to the given condition and requirement. So, for that purpose, we have various Shift and Rotate instructions present in the 8086 microprocessor.
Submit your missed lab task as a Video presentation with explanation
We have already used variable length strings in our previous examples. The variable length strings can have as many characters as required. Generally, we specify the length of the string by either of the two ways − Explicitly storing string length, Using a sentinel character
Interrupt is the method of creating a temporary halt during program execution and allows peripheral devices to access the microprocessor. The microprocessor responds to that interrupt with an ISR (Interrupt Service Routine), which is a short program to instruct the microprocessor on how to handle the interrupt . . .
Assembly level programming is very important to low-level embedded system design is used to access the processor instructions to manipulate hardware. It is a most primitive machine level language is used to make efficient code that consumes less number of clock cycles and takes less memory as compared to the high-level programming language ...
Time: 1:30 Hours
Marks: 15