LXI H,C000H //the length of the string is in C000 memory location//
MOV C,M
MVI E,00H
LOOP1: LXI H,C001H // string starts from C001 H //
MOV B,C
INX H
CMP M
JNC LOOP3
JZ LOOP3
MOV D,M
INR E // THIS IS TO CHECK WHETHER THE STRING IS ALREADY
SORTED OR NOT //
MOV M,A
DCX H
MOV M,D
INX H
LOOP3: DCR B
JNZ LOOP2
MOV A,E
SUI 00H
JZ LOOP4
DCR C
JNZ LOOP1
LOOP4: HLT
how to write a program for matrix multiplication in microprocesspr
write it in 8085
Either in Assembly or in some high level language/the hex-code (for the mnemonics) that the microprocessor 8085 generally understands.
we want relay interface with 8085 and also attech the program
public class RemoveSpace{ public static void main(String args[]){ String str = "8085"; Sysytem.out.println(str.trim()); } } Get The Desired OutPut....
Writing a hex program for the 8051 microcontroller on an 8085 microprocessor is not directly feasible, as they are based on different architectures and instruction sets. The 8051 uses its own assembly language and has features like built-in I/O ports and timers that are not present in the 8085. However, you can create a similar program in 8085 assembly language that performs equivalent tasks, keeping in mind the differences in hardware capabilities and instruction sets. You would need to carefully translate the logic and functionality from the 8051 program to suit the 8085 environment.
; Exact answer: LXI H, FFFFH push H POP PSW
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
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.
program to find prime number in 8085 microprocessor
jump,b
It can be implemented very easily .... Suppose the Binary word is X7X6X5.... X0 then the corresponding Gray code is G7G6G5....G0 where G7=X7 G6=X7 XOR X6 G5=X6 XOR X5 ..... G0=X1 XOR X0 Now implement the above algorithm