projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
S/390: Fix kmctr instruction type.
[deliverable/binutils-gdb.git]
/
opcodes
/
pdp11-dis.c
diff --git
a/opcodes/pdp11-dis.c
b/opcodes/pdp11-dis.c
index a149374220e778800365299b3e81ddfa10e329d6..b61675b812195fc2b9dd41b714c9059b37167938 100644
(file)
--- a/
opcodes/pdp11-dis.c
+++ b/
opcodes/pdp11-dis.c
@@
-1,5
+1,5
@@
/* Print DEC PDP-11 instructions.
/* Print DEC PDP-11 instructions.
- Copyright
2001, 2002, 2004, 2005, 2007
Free Software Foundation, Inc.
+ Copyright
(C) 2001-2016
Free Software Foundation, Inc.
This file is part of the GNU opcodes library.
This file is part of the GNU opcodes library.
@@
-214,15
+214,15
@@
print_insn_pdp11 (bfd_vma memaddr, disassemble_info *info)
switch (OP.type)
{
case PDP11_OPCODE_NO_OPS:
switch (OP.type)
{
case PDP11_OPCODE_NO_OPS:
- FPRINTF (F, OP.name);
+ FPRINTF (F,
"%s",
OP.name);
goto done;
case PDP11_OPCODE_REG:
goto done;
case PDP11_OPCODE_REG:
- FPRINTF (F, OP.name);
+ FPRINTF (F,
"%s",
OP.name);
FPRINTF (F, AFTER_INSTRUCTION);
print_reg (dst, info);
goto done;
case PDP11_OPCODE_OP:
FPRINTF (F, AFTER_INSTRUCTION);
print_reg (dst, info);
goto done;
case PDP11_OPCODE_OP:
- FPRINTF (F, OP.name);
+ FPRINTF (F,
"%s",
OP.name);
FPRINTF (F, AFTER_INSTRUCTION);
if (strcmp (OP.name, "jmp") == 0)
dst |= JUMP;
FPRINTF (F, AFTER_INSTRUCTION);
if (strcmp (OP.name, "jmp") == 0)
dst |= JUMP;
@@
-230,7
+230,7
@@
print_insn_pdp11 (bfd_vma memaddr, disassemble_info *info)
return -1;
goto done;
case PDP11_OPCODE_FOP:
return -1;
goto done;
case PDP11_OPCODE_FOP:
- FPRINTF (F, OP.name);
+ FPRINTF (F,
"%s",
OP.name);
FPRINTF (F, AFTER_INSTRUCTION);
if (strcmp (OP.name, "jmp") == 0)
dst |= JUMP;
FPRINTF (F, AFTER_INSTRUCTION);
if (strcmp (OP.name, "jmp") == 0)
dst |= JUMP;
@@
-238,7
+238,7
@@
print_insn_pdp11 (bfd_vma memaddr, disassemble_info *info)
return -1;
goto done;
case PDP11_OPCODE_REG_OP:
return -1;
goto done;
case PDP11_OPCODE_REG_OP:
- FPRINTF (F, OP.name);
+ FPRINTF (F,
"%s",
OP.name);
FPRINTF (F, AFTER_INSTRUCTION);
print_reg (src, info);
FPRINTF (F, OPERAND_SEPARATOR);
FPRINTF (F, AFTER_INSTRUCTION);
print_reg (src, info);
FPRINTF (F, OPERAND_SEPARATOR);
@@
-248,7
+248,7
@@
print_insn_pdp11 (bfd_vma memaddr, disassemble_info *info)
return -1;
goto done;
case PDP11_OPCODE_REG_OP_REV:
return -1;
goto done;
case PDP11_OPCODE_REG_OP_REV:
- FPRINTF (F, OP.name);
+ FPRINTF (F,
"%s",
OP.name);
FPRINTF (F, AFTER_INSTRUCTION);
if (print_operand (&memaddr, dst, info) < 0)
return -1;
FPRINTF (F, AFTER_INSTRUCTION);
if (print_operand (&memaddr, dst, info) < 0)
return -1;
@@
-258,7
+258,7
@@
print_insn_pdp11 (bfd_vma memaddr, disassemble_info *info)
case PDP11_OPCODE_AC_FOP:
{
int ac = (opcode & 0xe0) >> 6;
case PDP11_OPCODE_AC_FOP:
{
int ac = (opcode & 0xe0) >> 6;
- FPRINTF (F, OP.name);
+ FPRINTF (F,
"%s",
OP.name);
FPRINTF (F, AFTER_INSTRUCTION);
print_freg (ac, info);
FPRINTF (F, OPERAND_SEPARATOR);
FPRINTF (F, AFTER_INSTRUCTION);
print_freg (ac, info);
FPRINTF (F, OPERAND_SEPARATOR);
@@
-269,7
+269,7
@@
print_insn_pdp11 (bfd_vma memaddr, disassemble_info *info)
case PDP11_OPCODE_FOP_AC:
{
int ac = (opcode & 0xe0) >> 6;
case PDP11_OPCODE_FOP_AC:
{
int ac = (opcode & 0xe0) >> 6;
- FPRINTF (F, OP.name);
+ FPRINTF (F,
"%s",
OP.name);
FPRINTF (F, AFTER_INSTRUCTION);
if (print_foperand (&memaddr, dst, info) < 0)
return -1;
FPRINTF (F, AFTER_INSTRUCTION);
if (print_foperand (&memaddr, dst, info) < 0)
return -1;
@@
-280,7
+280,7
@@
print_insn_pdp11 (bfd_vma memaddr, disassemble_info *info)
case PDP11_OPCODE_AC_OP:
{
int ac = (opcode & 0xe0) >> 6;
case PDP11_OPCODE_AC_OP:
{
int ac = (opcode & 0xe0) >> 6;
- FPRINTF (F, OP.name);
+ FPRINTF (F,
"%s",
OP.name);
FPRINTF (F, AFTER_INSTRUCTION);
print_freg (ac, info);
FPRINTF (F, OPERAND_SEPARATOR);
FPRINTF (F, AFTER_INSTRUCTION);
print_freg (ac, info);
FPRINTF (F, OPERAND_SEPARATOR);
@@
-291,7
+291,7
@@
print_insn_pdp11 (bfd_vma memaddr, disassemble_info *info)
case PDP11_OPCODE_OP_AC:
{
int ac = (opcode & 0xe0) >> 6;
case PDP11_OPCODE_OP_AC:
{
int ac = (opcode & 0xe0) >> 6;
- FPRINTF (F, OP.name);
+ FPRINTF (F,
"%s",
OP.name);
FPRINTF (F, AFTER_INSTRUCTION);
if (print_operand (&memaddr, dst, info) < 0)
return -1;
FPRINTF (F, AFTER_INSTRUCTION);
if (print_operand (&memaddr, dst, info) < 0)
return -1;
@@
-300,7
+300,7
@@
print_insn_pdp11 (bfd_vma memaddr, disassemble_info *info)
goto done;
}
case PDP11_OPCODE_OP_OP:
goto done;
}
case PDP11_OPCODE_OP_OP:
- FPRINTF (F, OP.name);
+ FPRINTF (F,
"%s",
OP.name);
FPRINTF (F, AFTER_INSTRUCTION);
if (print_operand (&memaddr, src, info) < 0)
return -1;
FPRINTF (F, AFTER_INSTRUCTION);
if (print_operand (&memaddr, src, info) < 0)
return -1;
@@
-312,7
+312,7
@@
print_insn_pdp11 (bfd_vma memaddr, disassemble_info *info)
{
int displ = (opcode & 0xff) << 8;
bfd_vma address = memaddr + (sign_extend (displ) >> 7);
{
int displ = (opcode & 0xff) << 8;
bfd_vma address = memaddr + (sign_extend (displ) >> 7);
- FPRINTF (F, OP.name);
+ FPRINTF (F,
"%s",
OP.name);
FPRINTF (F, AFTER_INSTRUCTION);
(*info->print_address_func) (address, info);
goto done;
FPRINTF (F, AFTER_INSTRUCTION);
(*info->print_address_func) (address, info);
goto done;
@@
-322,7
+322,7
@@
print_insn_pdp11 (bfd_vma memaddr, disassemble_info *info)
int displ = (opcode & 0x3f) << 10;
bfd_vma address = memaddr - (displ >> 9);
int displ = (opcode & 0x3f) << 10;
bfd_vma address = memaddr - (displ >> 9);
- FPRINTF (F, OP.name);
+ FPRINTF (F,
"%s",
OP.name);
FPRINTF (F, AFTER_INSTRUCTION);
print_reg (src, info);
FPRINTF (F, OPERAND_SEPARATOR);
FPRINTF (F, AFTER_INSTRUCTION);
print_reg (src, info);
FPRINTF (F, OPERAND_SEPARATOR);
@@
-332,7
+332,7
@@
print_insn_pdp11 (bfd_vma memaddr, disassemble_info *info)
case PDP11_OPCODE_IMM8:
{
int code = opcode & 0xff;
case PDP11_OPCODE_IMM8:
{
int code = opcode & 0xff;
- FPRINTF (F, OP.name);
+ FPRINTF (F,
"%s",
OP.name);
FPRINTF (F, AFTER_INSTRUCTION);
FPRINTF (F, "%o", code);
goto done;
FPRINTF (F, AFTER_INSTRUCTION);
FPRINTF (F, "%o", code);
goto done;
@@
-340,7
+340,7
@@
print_insn_pdp11 (bfd_vma memaddr, disassemble_info *info)
case PDP11_OPCODE_IMM6:
{
int code = opcode & 0x3f;
case PDP11_OPCODE_IMM6:
{
int code = opcode & 0x3f;
- FPRINTF (F, OP.name);
+ FPRINTF (F,
"%s",
OP.name);
FPRINTF (F, AFTER_INSTRUCTION);
FPRINTF (F, "%o", code);
goto done;
FPRINTF (F, AFTER_INSTRUCTION);
FPRINTF (F, "%o", code);
goto done;
@@
-348,7
+348,7
@@
print_insn_pdp11 (bfd_vma memaddr, disassemble_info *info)
case PDP11_OPCODE_IMM3:
{
int code = opcode & 7;
case PDP11_OPCODE_IMM3:
{
int code = opcode & 7;
- FPRINTF (F, OP.name);
+ FPRINTF (F,
"%s",
OP.name);
FPRINTF (F, AFTER_INSTRUCTION);
FPRINTF (F, "%o", code);
goto done;
FPRINTF (F, AFTER_INSTRUCTION);
FPRINTF (F, "%o", code);
goto done;
This page took
0.025871 seconds
and
4
git commands to generate.