pushb assembler command in gas



According to the documentation I have there is supposed to be a pushb
command for gcc assemlber (gas). The pushw command works. I'm trying
to use the pushb command and it does not work. There are supposed to
be three corresponding types of commands with AT&T syntax when writing
assembler l,w, and b.
Here is an example of what I am trying to do.
pushb $0x13
Here is a copy of the error that I get:
Error: suffix or operands invalid for `push'
If I use an invalid command like pushi I get an error as follows:
Error: no such instruction
I believe it is possible that for some reason the pushb is a command
that is documented and should work, but for some reason it does not.
Can anyone tell me why a byte sized push in gas would not work (or
possibly the specific reason why this byte sized push is failing)? I
have a book that says the pushb command is supposed to be possible in
gas. Can anyone tell me why this wouldn't work?

.



Relevant Pages

  • Re: A more structured approach
    ... I still find Gas fairly cryptic, but I haven't spent much time with it. ... If we started with no command line parameters, this would point at an environment variable, If we started with one or more command line parameters, this might point to one of them, or to the zero that separates command line args from environment variables. ... I suspect what you tried that *didn't* work was a memory to memory compare "cmpb, ...
    (alt.lang.asm)
  • Re: Great SWT Program
    ... I think this syntax may go back to the Bourne shell. ... In most of the Unix shells I've used, as best I can remember, ... do requires launching an external command to massage some data, ... although how the documentation would lead a non-expert user to ...
    (comp.lang.java.programmer)
  • Single Source Documentation Woes
    ... provide the ability to single-source user manual documentation, ... | (WAP, HTML, etc.) | ... Application Name has the following command line options: ... To make life truly entertaining, ...
    (comp.programming)
  • Re: COPY bug with remote task as input.
    ... >:I think this is a bug in the COPY command. ... I cannot find it anymore in the VMS 7.3 documentation. ... This section seems to imply that any command which accepts an input file ... You should at least admit that the error message is confusing. ...
    (comp.os.vms)
  • Re: [RFC PATCH 1/3] Replace paravirt_probe with "platform type" boot header field
    ... out in boot loader protocol 2.04; see the documentation. ... *STABBITY STAB STAB STAB*. ... 2K for the command line. ...
    (Linux-Kernel)