answersLogoWhite

0


Best Answer

In the 8085, the LDA instruction loads the accumulator from memory, while the STA instructionstores the accumulator to memory. LDA is a read, while STA is a write. LDA is opcode 3AH, while STA is opcode 32H.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between LDA and STA instructions?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Difference between LDA and STA instruction in 8085?

In the 8085, the LDA instruction loads the accumulator from memory, while the STA instruction stores the accumulator to memory. LDA is a read, while STA is a write. LDA is opcode 3AH, while STA is opcode 32H.


What is the difference between STA20H and STA 20H STA with and without brackets in 8085?

STA[20H] and STA20H


Subtraction of two 8 bit numbers using 8085?

Mvi c lda 4150h mov b,a lda 4151 sub b jnc loop cma inr a inr c sta 4152 mov a,c sta 4153 hlt


Write a sequence of instructions for sic to set alpha equal to product of beta and gamma?

Lda beta mul gamma sta alpha : alpha resw 1 beta resw 1 gamma resw 1


Why do use cisc and risc processor?

in cisc concept instruction set is complex but in case of risc the ins truction are reduced. for example for mov operation many instruction are there as mov,mvi,sta,lda,lhld,shld,stax,ldax etc. but in case of risc only load and store(lda ,sta) are used for all as in case of ARM processors.


How do you add 5 numbers on the little man computer?

adding three numbers is: so it just make it 5 numbers :) inp sta one inp sta two inp sta three lda one add two add three sta answer out hlt one dat two dat three dat answer dat


What is program of Swapping of two numbers in assembly language?

LDA A //Load first number STA TMP LDA B //Load second number STA A LDA TMP STA B HLT IMPROVED: You can visit the link below to see the source code of the program. Make sure you have required library installed in MASM to run the program else you can see the logic and coding. http://infinityloopers.com/swapping-two-numbers-in-assembly-programming/


Can anyone help you with a 8085 assembly language program for average of 2 numbers?

LDA first_number MOV B,A LDA second_number ADD B RRC XRI 7FH STA result This simply takes two numbers and adds them together. Then it divides the result by 2, by shifting to the right. The numbers are unsigned, and there is no handling for overflow.


Difference between Open STA and LoadRunner?

Opensta- is a open source tool and there is no license for the tool load runner is a licensed tool and more secured


Write a program to add two 8 bit numbers in microprocessor 8086?

its munch, my program will add two 8-bit no. and store ina memory location MVI 20H //copies 20h to accumulator ADI 30H //adds 30h with the content of accumulator STA 3000H //store result in 3000h lpcation HLT //stop operation this operation also can be done with taking the values from memory location as LDA 2000H //loads accumulator with contents of 2000h location MOV B,A //copies the content of accumulator to register B LDA 2001H //loads acc with the content of 2001h ADD B //adds acc with content of register B STA 3000H //stores result in location 3000h HLT //stops operation and there are further many ways to perform the same dependent on many conditions such as carry etc.


How many miles between sta Barbara to Los Angeles?

There are 95 miles.


What does the STA in STA travel agency stand for?

probably STA stands for Student Travel Agency :) STA Travel - Student Travel Australia. Hope that helps, M