Different types of micro-controllers 8051 Micro-controller by Ravinder Nath Rajotiya - April 19, 2019May 10, 20210 Classification of Microcontrollers Over the years the micro-controllers have evolved to new height. There are number of players who manufacture them. So, it becomes essential to know what are different types of micro-controllers. They can be categorized based on size of registers, make, memory architecture, features etc. These are listed in table 1.1 below: 8051(Intel, Philips, Atmel, Siemens, Dallas) ATMEL, TI, National, Fairchild, Hitachi, OKI, Intel, Toshiba, Microchip, Zilog, Rockwell, Motorola, ST Microelectronics, Rabbit, Silicon Laboratories, NXP Semiconductors Table 1.1 Micro-controller Classification 1 Based on Architecture Harvard Architecture Princeton(Von-Neuman) Architecture 2 Size of Registers 4-Bit: Hitachi-HMCS40, National-COP420, TI-TMS1000 8-Bit: Intel- 8048, 8051 PIC-16C56, Zilog-Z86C83, Motorola-6805, 68HC11, TI-TMS7500, Infineon-XC800 16-Bit Intel-80C196, National-HPC16164, Hitachi-H8/532, Infineon-XE166 32-Bit ATMEL-XMEGAA3BU, SAMD20, Intel-i960, AVR32, Infineon-XMC4000, NXP-LPC4000 3 Memory Embedded RAM and ROM Additional External Memory 4 Instruction Set RISC CISC CISC implemented in RISC core 5 Family 8051 PIC AVR ARM Criteria of Selection: Selection of a particular micro-controller depends
8051 Micro-Controller 8051 Micro-controller by Ravinder Nath Rajotiya - April 19, 2019June 10, 20190 Introduction to Micro-controllers Microprocessors and micro-controllers are widely used in embedded system products. An embedded product uses a microprocessor (or micro-controller) to do one task and one task only. Whereas a micro-controller is used in an embedded system which perform a specific and a dedicated task, a microprocessor is used in systems which can perform multiple tasks wiz a computer. A printer is an example of embedded system since the processor inside it performs only one task; namely, getting the data and printing it. PC on the other hand can be used for any number of applications such as word processor, print server, bank teller terminal, video game player, network server, or internet terminal. PC generally uses an operating system and
Experiment-4-Factorial of a number in 8086 8086 Programming by Ravinder Nath Rajotiya - April 19, 2019April 29, 20220 AIM: Write a Program to generate Factorial of a number Objective: To understand the concept of multiplication using direct MUL instruction in 8086. To understand how to use 16-bit results To analyze the process and the result System Requirement : 8086 Trainer Kit with Key Board Setting up the Trainer Kit: Ensure that standard IBM PC/AT system keyboard is connected System is Powered ON Student has a handy opcode table for programming Use data Address as : For Program Code segment address : 1000 Offset address : 0200 For Data segment address : 0000 Offset address : 1300 Result : from offset 130A Flowchart: Algorithm to find the factorial of a number– Input the Number whose factorial is to be find and
Experiment-3 Program to generate Fibonacci series 8086 8086 Programming by Ravinder Nath Rajotiya - April 19, 2019April 15, 20210 AIM : Write a Program to generate Fibonacci series Objectives: After completing this experiment, students will be able to : understand the use of 8086 mnemonics and their opcode Draw Flowchart for the program Develop program to generate the Fibonacci series analyse the program System Requirement : 8086 Trainer Kit with Key Board Setting up the Trainer Kit: Ensure that standard IBM PC/AT system keyboard is connected System is Powered ON Student has a handy opcode table for programming Logic / Algorithm Start Initialize the CL register to store the to numbers accumulator (Ax) to ‘0000, register BL to first no. and DI to starting destination address Save first number from BL to [DI} and Increment the DI. Add AL and number in
Experiment Number 1 8086 Programming by Ravinder Nath Rajotiya - April 19, 2019May 25, 20220 AIM :Write a program to add and subtract two 16-bit numbers with/ without carry using 8086 Objective: To understand working of 8086 Based System. To draw flowchart of the 16-bit Addition To develop and execute program, To verify the result of two 16-bit long number. System Requirement : 8086 Trainer Kit with Key Board Setting up the Trainer Kit: Ensure that standard IBM PC/AT system keyboard is connected System is Powered ON Student has a handy opcode table for programming Use data Address as : For Program Code segment address : 1000 Offset address : 0200 For Data segment address 0000 offset address : 1300 Flowchart to Add two 16-bit numbers: Algorithm: Start Initialize the BX, and SI Registers Read the contents of the memory