Suppose you want to add 11 and 12.instruction are :
mvi a,11h
mvi b ,12h
mov d,b
add b
lxi h,0091h lda 0090hmvi b,03hcmp mjm 0015hinx hdcr bjnz 0008hsta 00a0hhltmov a,minx hjmp 0008h
The 8051 is a microcontroller, not a microprocessor. To add or subtract, use the ADD or SUBB opcodes.
i want to write a simple without using pointer or array c program which will print greatest number when i give 20 number .........How far have you gotten so far?
Arrange the any one of the order and store the memory in order vice (ie.Ascending for Descending) Then print the second data of that array it is simple way
Here is an example program: class obj{ public: float p,n,r,si; friend void calc( obj temp); }; void calc( obj temp){ si = (p*n*r)/100; } The initialization and function calling is essential.
A program which is used to count the number of numbers in an array using a 8085 microprocessor is known as a assembly language program.
in 8085 microprocessor a subroutine is a separate program written aside from main program ,this program is basically the program which requires to be executed several times in the main program. the microprocessor can call subroutine any time using CALL instruction . after the subroutine is executed the subbroutine hands over the program to main program using RET instruction.
assembly language program for sorting an array using 8086 microprocessor.
write program to concatenating two sting in 8086 assembly language
One many find this answer on YouTube. One also may find out how to write ascending order programs using an 8086 microprocessor by looking at the owners manual.
Yes, but not for long term storage, only while a program is executing using its stack.
#include<
we are using just one ic in a microprocessor
The addition of a simple suffix will change your verb into a noun.
Not used
There are several methods available to sort numbers. A simple way to program sorting is the so-called "bubble-sort". This is inefficient for larger lists of numbers; in which case it is more convenient to use one of the faster algorithms, for example, "quick-sort".
Well, this is a very open question, please be specific, I will try try to answer this as well, a simple c language program can be any thing from printing your name on the screen to printing some patterns using symbols, or making a small game, or a simple calculator program. you can a clearer picture of what can be a simple c language program here: