[patch] Arm sub(3) disassemble

Richard Earnshaw rearnsha@gcc.gnu.org
Tue Aug 30 10:45:00 GMT 2005


On Sun, 2005-08-28 at 00:48, Paul Brook wrote:
> The attached patch fixes an inconsistency in the arm disassembler. The 
> three-register 16-but thumb sub instruction sets the condition codes, but was 
> being disassembled as "sub". Patch changed this to "subs" and adjusts fixed 
> expected testcase output accordingly.
> 
> Tested with cross to arm-none-eabi.
> Ok?
> 
> Paul
> 
> 2005-08-28  Paul Brook  <paul@codesourcery.com>
> 
> opcodes/
> 	* arm-dis.c (thumb_opcodes): Disassemble sub(3) as subs.
> gas/testsuite/
> 	* gas/arm/thumb.d: Change "sub rn, rn, rn" to "subs rn, rn, rn".
> 	* gas/arm/thumb32.d: Ditto.

OK.

R.



More information about the Binutils mailing list