The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: kick on April 11, 2005, 10:09:38 PM

Title: PUSHZ
Post by: kick on April 11, 2005, 10:09:38 PM
Hello evererybody!!

Excuse me, but I am newbie...

Does anyone know the meaning of PUSHZ  instruction?

Thank you very much.
Title: Re: PUSHZ
Post by: hutch-- on April 11, 2005, 10:51:05 PM
On x86 there is no PUSHZ instruction.

PUSH
PUSHAD
PUSHFD etc ...
Title: Re: PUSHZ
Post by: pbrennick on April 11, 2005, 11:37:54 PM
pushZ is a command used by a PIC processor...

Paul
Title: Re: PUSHZ
Post by: kick on April 12, 2005, 11:13:05 AM

I can not believe, because I have a code like that.... in x86

pushz "ab"       
pushz "file.txt"
call fopen

and it works ....
Title: Re: PUSHZ
Post by: mnemonic on April 12, 2005, 11:25:41 AM
Quote from: kick on April 12, 2005, 11:13:05 AM

I can not believe, because I have a code like that.... in x86

pushz "ab"       
pushz "file.txt"
call fopen

and it works ....
Then it looks to me like a macro. Which assembler are you using?
PUSHZ looks like "push a pointer to a zero terminated string onto the stack".
Isn´t there something told in a help file or something like that.
Maybe start a "find in files" search in the assembler home directory.
Title: Re: PUSHZ
Post by: kick on April 12, 2005, 11:44:52 AM
Yes, you are right

My code has a PUSHZ macro

Thank you, and sorry  ....