Here we will see one 8085 program, the program will convert ASCII to binary values.Problem Statement− Write an 8085 Assembly level program to convert ASCII to binary or Hexadecimal character equivalent values.Discussion−The ASCII of number 00H is 30H (48D), and ASCII of 09H is 39H (57D). So all other numbers are in the range 30H to 39H. The ASCII value of 0AH is 41H (65D) and ASCII of 0FH is 46H (70D), so all other alphabets (B, C, D, E, F) are in the range 41H to 46H.Here the logic is simple. We will check whether the ASCII value is less ... Read More
Here we will see one 8085 Microprocessor program. This program will help us to check a given value is a valid 2 out of 5 code or not.Problem Statement− Write an 8085 Assembly language program to check whether a given number is two out of five code or not. The number is stored at location 8000H.Discussion− he checking of 2 out of 5 code is simple. At first we have to check the first three bits are 0 or not. If they are 0, then we will check next five bits. If there are exactly two 1s in these 5-bits, then it ... Read More
Here we will see how to perform the linear search in 8085 microprocessor. The linear search is searching elements sequentially from start to end position.Problem Statement −Write an 8085 Assembly language program to search a key value in a block of data using linear search (sequential search) technique.DiscussionSuppose the data are stored at location 8002H to 8007H. The 8000H is containing the size of the block, and 8001H is holding the key value to search. When we execute the program, it will return the address of the data where the item is found and store the address at location 9000H and ... Read More
Here we will see one 8085 microprocessor program. This program will generate 00H and FFH alternatively.Problem Statement − Write an 8085 Assembly language program that can generate 00H and FFH alternatively.Discussion − The 00H and FFH are changed alternatively in each second. So we need one second delay. We have created delay subroutine to generate 1s delay.Note: Here for simplicity we are storing the numbers into memory. To show the numbers, we can use 7 – segment display and other display function for showing it into the display.InputHere we are not providing any input.Flow DiagramProgramAddressHEX CodesLabelsMnemonicsCommentsF000AFLOOPXRA AClear A registerF00132, 50, 80 STA 8050H Store 00H ... Read More
Here we will see one 8085 Microprocessor program. In this program we will see how to simulate the decimal down counter.Problem Statement −Write an 8085 Assembly language program to simulate decimal down counter. It will count from 9 down to 0, and comeback to 9 again.Discussion −In this section we are simulating the decimal down counter. Here the counter will count 100 decimal numbers from 99 to 0. All values will be updated in each 0.5 seconds. For decimal count we are using the DAA instruction.Note: Here for simplicity we are storing the numbers into memory. To simulate it like a counter ... Read More
Here we will see one 8085 Microprocessor program. In this program we will see how to simulate the decimal up counter.Problem Statement− Write an 8085 Assembly language program to simulate the decimal up counter. That will count from 0 through 9. Then come back to 0 again.Discussion− In this section we are simulating the decimal up counter. Here the counter will count 100 decimal numbers from 0 to 99. All values will be updated in each 0.5 seconds. For decimal count we are using the DAA instruction. Note: Here for simplicity we are storing the numbers into memory. To simulate it like a ... Read More
Here we will see one interesting problem. We will see how to simulate one real-time clock using 8085 microprocessor.Problem Statement −Write an 8085 Assembly language program to simulate real-time clock.Discussion −In this program we are creating a real time clock using 8085MPU. Here we are generating 1s delay to update seconds. This clock is 24Hrs clock. We are initializing the clock from 00:00:00. To display the values into 7-segment display we have to use some Port ICs and correct configurations. In each 60 seconds the minute field is updated, and in each 60 minutes the hour field is updated. For decimal update, ... Read More
Website development included writing code in HTML, CSS, JavaScript and the platform you’ve chosen. Your website may look correct, responsive and developed with website standards, but it may have some internal issues.Tools are provided by W3C, to validate your website code:Validate HTML5Validator.nu is a validator, which validates HTML5, ARIA, SVG 1.1 and MathML 2.0. It checks the complete document and points out where the markup isn’t following the doctype.W3C Markup ValidatorIt checks the HTML doctype and the markup. This validator is for those who are using HTML4 or XHTML1.x doctype. It also validates HTML5, but Validator.nu is considered far better since ... Read More
The tag is used in HTML to define a relationship to an external resource. It is used to link external style sheets. It gets added inside the … tag, but does not have a closing tag. Define your external CSS file in it.The CSS file created separately will have all the CSS code inside it. The href attribute adds the css file link.You can try to run the following code to include external CSS in HTML. The HTML file is here, with a link to CSS file style.cssExampleLive Demo ... Read More
With HTML, the essentials are doctype declaration, and . But, you will be amazed to know that a valid HTML document can work without the element. The doctype declaration will come always since it tells and instructs the browser about what the page is about.Let’s see an example; here we won’t use the tag. Still, the HTML Document is valid and will work correctly like any other valid HTML DocumentExampleLive Demo Title of the document This is heading 1 This is demo text.
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP