answersLogoWhite

0

Why stax h not possible in 8085 microprocessor?

Updated: 12/20/2022
User Avatar

Sourabhagrawal

Lvl 1
13y ago

Best Answer

There is no STAX for HL register pair because the data transfer for STAX can be done through XCHG command.

For ex: to transfer the data to the memory loaction specified by the HL pair we do as follows:

XCHG

STAX D

for DE pair and BC pair we can directly do it using STAX

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why stax h not possible in 8085 microprocessor?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is h-L in the Intel 8085?

HL is a register pair that is used to store 16-bit data in 8085 Microprocessor


What are the general purpose register in 8085 microprocessor?

6 general purpose registers.i.e., B,C,D,E,H,L


What is meaning of 8085 microprocessor?

8085 is a 8 bit microprocessor designed by Intel.


How do you do addition of 32 bit numbers in 8085?

In order to add 32 bit numbers in the 8085, you need to add them 8 bits at a time, tracking the carrys between each add. LXI B,first_number LXI H,second_number LXI D,result LDAX B ;first byte - no carry in ADD M STAX D INX B; point to next byte INX D INX H LDAX B ;second byte - carry in ADC M ;note the ADC instead of ADD STAX D INX B; point to next byte INX D INX H LDAX B ;third byte - carry in ADC M STAX D INX B; point to next byte INX D INX H LDAX B ;fourth - carry in ADC M STAX D


Program for block transfer in 8085?

Block transfer in 8085... PUSH FLAGS {optional, if registers need to be saved} PUSH B PUSH D PUSH H LXI H,COUNT LXI B,SOURCE LXI D,DESTINATION LOOP LDAX B STAX D INX B INX D DCX H MOV A,H ORA L JNZ LOOP POP H {optional, if registers need to be saved} POP D POP B POP FLAGS


Write a 8085 microprocessor program to check whether a give number is even or odd?

Lxi h, 2000h mov a,m mov b,a inx h mov a,m add b sta 2002h hlt


What would be a program to add two hexadecimals using 8085 microprocessor?

Lxi h,8000h // hl pointes to the location 8000 mov a,m // the value at 8000 copied to accumulator inx h // increment hl add m // add values at 8000 and 8001 hlt // quit the program


What is default value of stack pointer in 8085?

its FF (H)


What is 8085 mpu architecture?

8085 microprocessor is 8 bit microprocessor develop by Intel corp. it's architecture can be study broadly over internet various sites provide the information about architecture. some is given below 1-data bus - 8 2-address bus- 16 3-memory- 64 KB 4-GPRs - B,C D,E H,L 5-each of 8 bit 6- A L U. airthmatical logical unit.


What is 8085 architecture?

8085 microprocessor is 8 bit microprocessor develop by Intel corp. it's architecture can be study broadly over internet various sites provide the information about architecture. some is given below 1-data bus - 8 2-address bus- 16 3-memory- 64 KB 4-GPRs - B,C D,E H,L 5-each of 8 bit 6- A L U. airthmatical logical unit.


What happens when POP H instruction is executed in 8085?

The POP H instruction in the 8085 copies the top of stack to the HL register and then increments the stack pointer by 2. In C pseudo code, the sequence is L = *(SP++); H = *(SP++);


How many 8 bit register in 8085?

There are seven 8 bit registers in the 8085. A, B, C, D, E, H, and L