This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Pushing a memory address.

Hello,
Is it possible to PUSH a specific memory address like :

#pragma asm 
           PUSH    0x10;
#pragma endasm
Is this valid code?

thanks and warm regards,
Sundeep

Parents
  • 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

Reply
  • 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

Children
No data