binutils-gdb/binutils/testsuite/binutils-all/mips/mips16-extend-noinsn.s
Maciej W. Rozycki 55af478400 MIPS16/opcodes: Reformat raw EXTEND and undecoded output
Use a tab rather than a space to separate `extend' and its uninterpreted
argument output, like with regular instructions.  Separate hexadecimal
halves of undecoded extended instructions output with a space instead of
presenting them concatenated.

	opcodes/
	* mips-dis.c (print_insn_mips16): Use a tab rather than a space
	to separate `extend' and its uninterpreted argument output.
	Separate hexadecimal halves of undecoded extended instructions
	output.

	binutils/
	* testsuite/binutils-all/mips/mips16-extend-noinsn.d: New test.
	* testsuite/binutils-all/mips/mips16-extend-noinsn.s: New test
	source.
	* testsuite/binutils-all/mips/mips.exp: Run the new test.
2016-12-09 23:18:06 +00:00

26 lines
408 B
ArmAsm

.set mips16
foo:
nop
.half 0xf123, 0xf456
.half 0xf765
jal bar
.half 0xf432
jalx baz
.half 0xf123, 0x6621
.half 0xf456, 0xe935
.half 0xf765, 0xea60
.half 0xf432, 0xece0
.half 0xf5aa, 0xe971
.half 0xf655, 0xebf1
.half 0x6621
.half 0xe935
.half 0xea60
.half 0xece0
.half 0xe971
.half 0xebf1
nop
# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
.align 4, 0
.space 16