Exchanging the Memory LocationsWrite a program to exchange the data at 5000M& 6000M memory location.LDA 5000M : 'Getting the contents at5000M location into accumulator' MOV B, A : 'Save the contents into B register' LDA 6000M : 'Getting the contents at 6000M location into accumulator' STA 5000M : 'Store the contents of accumulator at address 5000M' MOV A, B : 'Get the saved contents back into A register' STA 6000M : 'Store the contents of accumulator at address 6000M' - Study24x7
Social learning Network
study24x7

Default error msg

Login

New to Study24x7 ? Join Now
Already have an account? Login
05 Mar 2019 11:45 AM study24x7 study24x7

Exchanging the Memory Locations
Write a program to exchange the data at 5000M& 6000M memory location.
LDA 5000M : "
Getting the contents at5000M location into accumulator" 
MOV B, A :
 "Save the contents into B register" 
LDA 6000M ...

See more

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles