Delay Time using 8085 Programming Loops 8085 Microprocessor by Ravinder Nath Rajotiya - October 13, 2021September 29, 20230 Delay Loops in 8085 Loop is used in 8085 for repeating the execution of a set of instructions. Loops are also used in generating the delays in 8085. The Loop is implemented by using the DCR and some conditional JMP instructions. A simple Loop is shown below MVI A, 00 MVI C, 05 Again: DCR C ADD C JNZ again This program make use of a add instruction inside a loop which executed five times. At the end of the loop addition of five numbers 0 to 5 is obtained which is 15. We can also use loop to generate delay time for some applications. The delay is actually the total ‘T’ states times the clock period. i.e. TL =
8085-Data Transfer instructions 8085 Microprocessor by Ravinder Nath Rajotiya - September 1, 2020May 10, 20210 Data Transfer Instructions: These instructions are used for transferring data items from one source location to another location called destination. The source can be an immediate number, content of a register or memory or even an input from the peripheral and destination can be a register, memory or any peripheral. The different instructions under data transfer category are listed in table below: 1 MVI Reg/Mem,8-bit data Move immediate 8-bit data in reg/memory 2 MOV Rd, Rs Move content of source register to a destination register 3 MOV Rd, M Move content of memory to a destination register 4 LXI Rp,16-bit Data Move 16-bit immediate data to register pair (BC, DE, HL) 5 LDA 16-bit Address Load Accumulator from memory whose 16-bit address is given 6 STA 16-bit Address Store Accumulator from memory whose 16-bit address is given 7 LHLD 16-bit Address Load HL
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