This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: PATCH: add pa2.0 clrbts instruction
- To: "Jerry Quinn" <jquinn@nortelnetworks.com>
- Subject: Re: PATCH: add pa2.0 clrbts instruction
- From: Jeffrey A Law <law@cygnus.com>
- Date: Fri, 25 Jun 1999 04:28:08 -0600
- cc: binutils@sourceware.cygnus.com
- Reply-To: law@cygnus.com
In message <199906211423.KAA27386@wmtl249c.us.nortel.com>you write:
> + { "clrbts", 0xe8008005, 0xffffffff, "", pa20},
I think you've got the wrong opcode again.
Page 7-25
0x3a 6 bits
0x00 5 bits
0x00 5 bits
0x02 3 bits
0x00 1 bit
0x00 9 bits
0x01 1 bit
0x00 1 bit
0x01 1 bit
111010 00000 00000 010 0 000000000 1 0 1
Into 4 bit nibbles
1110 1000 0000 0000 0100 0000 0000 0101
e 8 0 0 4 0 0 5
And the HP assembler verifies:
6 00000008 (E8004005) clrbts
I'll fix up the opcode and install your patch.
If you're going to submit more PA2.0 assembler patches I recommend you use
the HP assembler to verify opcodes :-)
jeff
>
> /* Computation Instructions */
>
> --
> Jerry Quinn Tel: (514) 761-8737
> jquinn@nortelnetworks.com Fax: (514) 761-8505
> Speech Recognition Research
>