LDA 9000H
MOV B,A
LDA 9001H
MOV E,A
MVI C,00H
MOV A,B
LOOP : INR C
SUB E
JNZ LOOP
ADD E
DCR C
STA 9002H
MOV E,A
STA 9003H
Input the 2 numbers in 9000 & 9001.
Remainder stored in 9002, Quotient stored in 9003.
hi,maggie, a 2nd year cse student in methodist college of engg and tech hydrebad India.....Here's the program, please correct it if i am wrong
lxi h,4150
mov b,m //get divident in b-reg
mvi c,00 // clear c-reg for quotient
inx h
mov a,m //get the divisor in A reg
Next cmp b // compare A reg with b reg
jc loop // jump on carry to loop
sub b // sub A reg from b reg
inr c// increment content of register c
jmp NEXT// jump to next
loop sta 4152// store the remainder
mov a,c
sta 4153//store the quotient
hlt
How to write a program for mouse in microprocessor?
Divide it by 1000.
write a c++ program to convert binary number to decimal number by using while statement
write a program that reads a phrase and prints the number of lowercase latters in it using a function for counting? in C program
Assuming the number is represented by a decimal integer, initialise a counter to zero, then repeatedly divide the number by 10 and until the number is zero. After each division, examine the remainder. Each time the remainder is zero, increment the counter. If the number is represented by a decimal float, repeatedly multiply by 10 until the value is an integer, then perform the previous algorithm.
How to write a program for mouse in microprocessor?
write it in 8085
Sp[[Q/Write a 8085 microprocessor program to find A inverse and A transpose if A is a 3x3 matrix|Answer]]ell chec[[Q/Write a 8085 microprocessor program to find A inverse and A transpose if A is a 3x3 matrix&action=edit&section=new|Answer it!]]k your answe[[Q/Discuss:Write a 8085 microprocessor program to find A inverse and A transpose if A is a 3x3 matrix|Disc]][[help/answering questions|guidelin]]Spell check your answeresussionr[[help/signing in|full benefits]] Save C[[Q/Write a 8085 microprocessor program to find A inverse and A transpose if A is a 3x3 matrix|Write a 8085 microprocessor program to find A inverse and A transpose if A is a 3x3 ]][[Q/Write a 8085 microprocessor program to find A inverse and A transpose if A is a 3x3 matrix&action=edit&section=new|Answering 'Write a 8085 microprocessor program to find A inverse and A transpose if A is a 3x3 matrix?']]matrix?ancel[[Q/How many animals are in West Texas|How many animals are in West Texas?]][[Q/How do you increase the number of four wheelers vehicles for servicing in a Service workshop|How do you increase the number of four wheelers vehicles for servicing in a]][[Q/How do you increase the number of four wheelers vehicles for servicing in a Service workshop|How do you increase the number of four wheelers vehicles for servicing in a Service workshop?]] Service workshop?[[Q/How do you increase the number of four wheelers vehicles for servicing in a Service workshop|How do you increase the number of four wheelers vehicles for servicing in a Service workshop?]]More Q&A
write program to concatenating two sting in 8086 assembly language
Writing H after a number means the number is a hexadecimal, or base 16, number.
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.
Write a program to convert a 2-digit BCD number into hexadecimal
Divide it by 1000.
you divide the denominator to the numerator
Divide by 80.
Store both the number in two variable X and Y. Divide X by Y. If remainder is zero then Y is HCF.
To write a percent as a decimal, divide the number by 100. So, divide 50 by 100. The answer is .50.