ASSEMBLY LANGUAGE AVR Assuming stack pointer is set to addre
?ASSEMBLY LANGUAGE AVR
Assuming stack pointer is set to address 0x21 FF. If we execute instruction PUSH R0, where is this value stored? (Please specify the address location in Hex)Solution
Stack pointer will be decreased by 4 times the number of registers to be pushed on the stack);
Here PUSH R0 means stack pointer will be set to 0x21FF - 4 *1 (one push)
Value will be stored at 0x21FB
