aboutsummaryrefslogtreecommitdiff
path: root/opcodes/s390-dis.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2005-08-12 18:03:03 +0000
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2005-08-12 18:03:03 +0000
commitad101263eb67421b32fea6d27c056a7b3c3ada83 (patch)
tree121137d8c377a072432993023e9fb567300ae86c /opcodes/s390-dis.c
parent8c9295623d9af7136468861cfbf445720bf9871e (diff)
downloadgdb-ad101263eb67421b32fea6d27c056a7b3c3ada83.zip
gdb-ad101263eb67421b32fea6d27c056a7b3c3ada83.tar.gz
gdb-ad101263eb67421b32fea6d27c056a7b3c3ada83.tar.bz2
* s390-dis.c (print_insn_s390): Print unsigned operands with %u.
* s390-mkopc.c (s390_opcode_cpu_val): Add support for cpu type z9-109. (main): Likewise. * s390-opc.c (I32_16, U32_16, M_16): Add defines 32 bit immediates and 4 bit optional masks. (INSTR_RIL_RI, INSTR_RIL_RU, INSTR_RRF_M0RR, INSTR_RSE_CCRD, INSTR_RSY_CCRD, INSTR_SSF_RRDRD): Add new instruction formats. (MASK_RIL_RI, MASK_RIL_RU, MASK_RRF_M0RR, MASK_RSE_CCRD, MASK_RSY_CCRD, MASK_SSF_RRDRD): Likewise. (s390_opformats): Likewise. * s390-opc.txt: Add new instructions for cpu type z9-109.
Diffstat (limited to 'opcodes/s390-dis.c')
-rw-r--r--opcodes/s390-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/s390-dis.c b/opcodes/s390-dis.c
index 013c75a..9b0a063 100644
--- a/opcodes/s390-dis.c
+++ b/opcodes/s390-dis.c
@@ -206,7 +206,7 @@ print_insn_s390 (bfd_vma memaddr, struct disassemble_info *info)
else if (operand->flags & S390_OPERAND_SIGNED)
(*info->fprintf_func) (info->stream, "%i", (int) value);
else
- (*info->fprintf_func) (info->stream, "%i", value);
+ (*info->fprintf_func) (info->stream, "%u", value);
if (operand->flags & S390_OPERAND_DISP)
{