write an assembly language program to compare the binary 8-bit string located in R0 to R7 to Bank 0 with the R0 to R8 Bank 1 and store the result of comparison (Ri=00h if both string are same and Ri=fifth if string are different) in register Bank 2.
this question by microcontoller in 8051.
please answer this qustion
Answers
Answered by
0
Answer:
- Each personal computer has a microprocessor that manages the computer's arithmetical, logical, and control activities.
- Each family of processors has its own set of instructions for handling various operations such as getting input from keyboard, displaying information on screen and performing various other jobs. These set of instructions are called 'machine language instructions'.
- A processor understands only machine language instructions, which are strings of 1's and 0's. However, machine language is too obscure and complex for using in software development. So, the low-level assembly language is designed for a specific family of processors that represents various instructions in symbolic code and a more understandable form.
==>> Advantages of Assembly Language
- Having an understanding of assembly language makes one aware of −
- How programs interface with OS, processor, and BIOS;
- How data is represented in memory and other externalities devices;
- How the processor accesses and executes instruction;
How instructions access and process data;
How a program accesses external devices.
Similar questions