[PATCH] NIOS2: Add wrprs instruction

Sebastian Huber sebastian.huber@embedded-brains.de
Sat Mar 9 16:20:00 GMT 2013


On 09/03/13 17:11, Sebastian Huber wrote:
> diff --git a/gas/testsuite/gas/nios2/wrprs.d b/gas/testsuite/gas/nios2/wrprs.d
> new file mode 100644
> index 0000000..42c5137
> --- /dev/null
> +++ b/gas/testsuite/gas/nios2/wrprs.d
> @@ -0,0 +1,9 @@
> +#objdump: -dr --prefix-addresses
> +#name: NIOS2 wrprs
> +
> +# Test the wrprs instruction
> +
> +.*: +file format elf32-littlenios2
> +
> +Disassembly of section .text:
> +0+0000 <[^>]*> wrprs	sp,r2

Is is possible to test the 32-bit machine code directly? This test shows 
only that the binutils can do something with this opcode, but it may not 
result in the real instruction value.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the Binutils mailing list