mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
* arm-dis.c (print_arm_insn): Print "-" after "#".
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2003-11-03 Daniel Jacobowitz <drow@mvista.com>
|
||||||
|
|
||||||
|
* arm-dis.c (print_arm_insn): Print "-" after "#".
|
||||||
|
|
||||||
2003-10-30 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
|
2003-10-30 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
|
||||||
|
|
||||||
* alpha-opc.c: Add support for a second argument to RPCC.
|
* alpha-opc.c: Add support for a second argument to RPCC.
|
||||||
|
@ -286,7 +286,7 @@ print_insn_arm (pc, info, given)
|
|||||||
{
|
{
|
||||||
int offset = given & 0xfff;
|
int offset = given & 0xfff;
|
||||||
if (offset)
|
if (offset)
|
||||||
func (stream, ", %s#%d",
|
func (stream, ", #%s%d",
|
||||||
(((given & 0x00800000) == 0)
|
(((given & 0x00800000) == 0)
|
||||||
? "-" : ""), offset);
|
? "-" : ""), offset);
|
||||||
}
|
}
|
||||||
@ -307,7 +307,7 @@ print_insn_arm (pc, info, given)
|
|||||||
{
|
{
|
||||||
int offset = given & 0xfff;
|
int offset = given & 0xfff;
|
||||||
if (offset)
|
if (offset)
|
||||||
func (stream, "], %s#%d",
|
func (stream, "], #%s%d",
|
||||||
(((given & 0x00800000) == 0)
|
(((given & 0x00800000) == 0)
|
||||||
? "-" : ""), offset);
|
? "-" : ""), offset);
|
||||||
else
|
else
|
||||||
@ -350,7 +350,7 @@ print_insn_arm (pc, info, given)
|
|||||||
/* Immediate. */
|
/* Immediate. */
|
||||||
int offset = ((given & 0xf00) >> 4) | (given & 0xf);
|
int offset = ((given & 0xf00) >> 4) | (given & 0xf);
|
||||||
if (offset)
|
if (offset)
|
||||||
func (stream, ", %s#%d",
|
func (stream, ", #%s%d",
|
||||||
(((given & 0x00800000) == 0)
|
(((given & 0x00800000) == 0)
|
||||||
? "-" : ""), offset);
|
? "-" : ""), offset);
|
||||||
}
|
}
|
||||||
@ -374,7 +374,7 @@ print_insn_arm (pc, info, given)
|
|||||||
/* Immediate. */
|
/* Immediate. */
|
||||||
int offset = ((given & 0xf00) >> 4) | (given & 0xf);
|
int offset = ((given & 0xf00) >> 4) | (given & 0xf);
|
||||||
if (offset)
|
if (offset)
|
||||||
func (stream, "], %s#%d",
|
func (stream, "], #%s%d",
|
||||||
(((given & 0x00800000) == 0)
|
(((given & 0x00800000) == 0)
|
||||||
? "-" : ""), offset);
|
? "-" : ""), offset);
|
||||||
else
|
else
|
||||||
@ -451,7 +451,7 @@ print_insn_arm (pc, info, given)
|
|||||||
int offset = given & 0xff;
|
int offset = given & 0xff;
|
||||||
|
|
||||||
if (offset)
|
if (offset)
|
||||||
func (stream, ", %s#%d]%s",
|
func (stream, ", #%s%d]%s",
|
||||||
((given & 0x00800000) == 0 ? "-" : ""),
|
((given & 0x00800000) == 0 ? "-" : ""),
|
||||||
offset * 4,
|
offset * 4,
|
||||||
((given & 0x00200000) != 0 ? "!" : ""));
|
((given & 0x00200000) != 0 ? "!" : ""));
|
||||||
@ -467,7 +467,7 @@ print_insn_arm (pc, info, given)
|
|||||||
if (given & (1 << 21))
|
if (given & (1 << 21))
|
||||||
{
|
{
|
||||||
if (offset)
|
if (offset)
|
||||||
func (stream, ", %s#%d",
|
func (stream, ", #%s%d",
|
||||||
((given & 0x00800000) == 0 ? "-" : ""),
|
((given & 0x00800000) == 0 ? "-" : ""),
|
||||||
offset * 4);
|
offset * 4);
|
||||||
}
|
}
|
||||||
@ -876,12 +876,12 @@ print_insn_arm (pc, info, given)
|
|||||||
if (offset)
|
if (offset)
|
||||||
{
|
{
|
||||||
if ((given & 0x01000000) != 0)
|
if ((given & 0x01000000) != 0)
|
||||||
func (stream, ", %s#%d]%s",
|
func (stream, ", #%s%d]%s",
|
||||||
((given & 0x00800000) == 0 ? "-" : ""),
|
((given & 0x00800000) == 0 ? "-" : ""),
|
||||||
offset * multiplier,
|
offset * multiplier,
|
||||||
((given & 0x00200000) != 0 ? "!" : ""));
|
((given & 0x00200000) != 0 ? "!" : ""));
|
||||||
else
|
else
|
||||||
func (stream, "], %s#%d",
|
func (stream, "], #%s%d",
|
||||||
((given & 0x00800000) == 0 ? "-" : ""),
|
((given & 0x00800000) == 0 ? "-" : ""),
|
||||||
offset * multiplier);
|
offset * multiplier);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user