push statement vs pop statement

This page on push statement vs pop statement describes difference between push statement and pop statement.Both the statements are associated with respect to stack data structure. They are invoked when ISR(Interrupt Service Routine/function) is called in the program.

When ISR is called,push statement stores the variables on to the stack memory segment.

When the Program Counter(PC) returns control back from the ISR to the main program, pop statement removes the variables from top of the stack. Due to this it is also called as LIFO(Last In First Out).

Push statement will have two arguments one is the stack address and the other one is the variable to be stored on the stack. Pop statement will have only one argument that is the stack address.


C Programming Language tutorial

What is Difference between

difference between FDM and OFDM
Difference between SC-FDMA and OFDM
Difference between SISO and MIMO
Difference between TDD and FDD
Difference between 802.11 standards viz.11-a,11-b,11-g and 11-n
Bluetooth vs zigbee
Fixed wimax vs mobile

RF and Wireless Terminologies