answersLogoWhite

0


Best Answer

Push instruction pushes two byte of data on the top of the stack.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: PUSH Instruction in 8085 Micro processor?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the function of processor status word in 8085?

Processor status word ( PSW ) in the case of 8085 refers to the collection of the values of the flag register and accumulator. It is used with the command push: PUSH PSW With this command, the proccessor saves the value of accumulator (A) and the values of the flag bits to the stack.


What are the instruction to reset RST 7.5?

To reset the pending RST 7.5 instruction in the 8085, you need to execute a SIM instruction with a particular value in the accumulator. PUSH FLAGS MVI A,10H SIM POP FLAGS Of course the PUSH and POP are optional, if you don't need to preserve the value of the accumulator.


What is the similarity between call-return and push-pop instruction?

If this is a homework assignment, you really should try to answer it on your own first, otherwise the value of the reinforcement of the lesson due to actually doing the assignment will be lost on you.The call-return and push-pop instruction sequences on the 8085 are similar in that each pushes something on the stack and then pops something off the stack.In the case of call-return, that something is the program counter. In the case of push-pop, that something is up to the programmer, and it can be one of AF, BC, DE, or HL.


Are processor is the brain of computer?

yes the processor does all the calculations and the RAM helps to push it through


What happens after push b in 8085 if sp is initialised as 0000h?

(b) -> ffffh (c) -> fffeh fffeh -> sp


Write a program to set all flags of 8085?

; Exact answer: LXI H, FFFFH push H POP PSW


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 program to store block of data in reverse order in a memory block using 8085 microprocessor?

A possible program to reverse a block of memory using the 8085... PUSH F SAVE PROCESSOR STATE - OPTIONAL PUSH B PUSH D PUSH H LXI H,{address of block} MOV D,H SAVE BLOCK ADDRESS MOV E,H MVI A,{size of block} MOV C,A SAVE BLOCK SIZE LOOP1: MOV A,M GET DATA BYTE PUSH F PUSH ON STACK DCR C DECREMENT LOOP COUNT XRA A TEST FOR END OF LOOP CMP C JNZ LOOP1 MOV H,D RESTORE BLOCK ADDRESS MOV L,E MOVE C,B RESTORE BLOCK SIZE LOOP2: POP F POP FROM STACK MOV M,A PUT DATA BYTE DCR C DECREMENT LOOP COUNT XRA A TEST FOR END OF LOOP CMP C JNZ LOOP2 POP H RESTORE PROCESSOR STATE - OPTIONAL POP D POP B POP F


What happens when a PUSH instruction is executed?

The value being pushed (push [value]) is placed on the top of the stack (esp) and the size of the value is added to esp.


Is the CPU ID unique?

The CPUID is unique to the processor model. Although Intel at one time tried to push a unique number for each individual processor, they no longer do this.


I want to factory reset my phone without losing my saves on my emulator how can i do this?

You can save all of your emulator saves on a computer by plugging the phone in or you can push them to the Micro SD card before doing the factory reset.If you factory reset a phone, all saved information will be lost. If you have a Micro card in the phone, push the data to the card before resetting.


How does push work on registers and variables?

The PUSH instruction decrements the stack pointer by the size of the operand and then stores its operand at the memory address pointed to by the stack pointer. This leaves the stack pointer always pointing to the last element pushed onto the stack.The POP instruction reverses the sequence, retrieving the operand first, and then incrementing the stack pointer by the size of the operand.Also, PUSH and POP do not work on variables - they only work on register values. You can pop/push a variable, however, by using a register and then storing/retrieving the register to/from memory.