pushb assembler command in gas
- From: "dude84" <spamtrap@xxxxxxxxxx>
- Date: 25 Mar 2006 15:54:15 -0800
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?
.
- Follow-Ups:
- Re: pushb assembler command in gas
- From: Eric
- Re: pushb assembler command in gas
- From: Rod Pemberton
- Re: pushb assembler command in gas
- From: Claudio Daffra
- Re: pushb assembler command in gas
- Prev by Date: Paging/Segmentation: how are they realy implemented
- Next by Date: Re: Paging/Segmentation: how are they realy implemented
- Previous by thread: Paging/Segmentation: how are they realy implemented
- Next by thread: Re: pushb assembler command in gas
- Index(es):
Relevant Pages
|