This document discusses timing and delays in software, providing examples of using NOP instructions and counters to create delays. It also lists several algorithms in 8086 assembly language, including adding two numbers, finding the average/maximum/search value of an array, and separating even and odd numbers in an array. Finally, it discusses data conversion techniques between binary, ASCII, and hexadecimal representations.
This document discusses timing and delays in software, providing examples of using NOP instructions and counters to create delays. It also lists several algorithms in 8086 assembly language, including adding two numbers, finding the average/maximum/search value of an array, and separating even and odd numbers in an array. Finally, it discusses data conversion techniques between binary, ASCII, and hexadecimal representations.
This document discusses timing and delays in software, providing examples of using NOP instructions and counters to create delays. It also lists several algorithms in 8086 assembly language, including adding two numbers, finding the average/maximum/search value of an array, and separating even and odd numbers in an array. Finally, it discusses data conversion techniques between binary, ASCII, and hexadecimal representations.
This document discusses timing and delays in software, providing examples of using NOP instructions and counters to create delays. It also lists several algorithms in 8086 assembly language, including adding two numbers, finding the average/maximum/search value of an array, and separating even and odd numbers in an array. Finally, it discusses data conversion techniques between binary, ASCII, and hexadecimal representations.
• Also called as software delays • It is important to keep track with time. • Real time example such as traffic light control,digital clock,process control,serial communication etc • NOP instruction takes 2 clock cycles of processor time to execute.so by executing NOP instruction inbetween two instructions we can get delay of 3 clock cycles. • Timer delay can be done by using counters or nested loops Programming Example 8086 ALP to add two numbers Average of two no. 8086 ALP to find maximum in array 8086 ALP to search a number in the array 8086 ALP to find sum of numbers in the array Separate even odd numbers in the array https://www.youtube.com/watch?v=8juo1r Tm0oM Data Conversion • Two ways to convert binary number into its ASCII equivalent: By the AAM instruction if the number is less than 100. By series of decimal divisions (divide by 10) • ASCII to Binary • Read hexadecimal Data • Display Hexadecimal data Reverse the word in String