Hello, Is it possible to PUSH a specific memory address like :
#pragma asm PUSH 0x10; #pragma endasm
You can find the full instruction set listing in the 80C51 family programmer's guide and instruction set manual here: http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_PROG_GUIDE_1.pdf Note that PUSH simply pushes a byte onto the stack - it doesn't know whether it's an address or anything else!
Thanks for the link. I wanted to store the contents of register bank 3 onto the stack without explicity changing to register bank 3 by using RS0 and RS1 bits(or by the using directive). PUSH direct. So, the contents of the address specified is stored and that's what I wanted. -Sundeep