projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[AArch64] Add SVE system registers
[deliverable/binutils-gdb.git]
/
opcodes
/
m88k-dis.c
diff --git
a/opcodes/m88k-dis.c
b/opcodes/m88k-dis.c
index 181ae3076c2bbb49697bd833ecb9f2e713cf797b..928090f1c6b457cf44757d10bc8f621910197f97 100644
(file)
--- a/
opcodes/m88k-dis.c
+++ b/
opcodes/m88k-dis.c
@@
-1,6
+1,5
@@
/* Print instructions for the Motorola 88000, for GDB and GNU Binutils.
/* Print instructions for the Motorola 88000, for GDB and GNU Binutils.
- Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1993, 1998, 2000, 2001,
- 2002, 2005, 2007, 2008 Free Software Foundation, Inc.
+ Copyright (C) 1986-2017 Free Software Foundation, Inc.
Contributed by Data General Corporation, November 1989.
Partially derived from an earlier printcmd.c.
Contributed by Data General Corporation, November 1989.
Partially derived from an earlier printcmd.c.
@@
-523,7
+522,7
@@
HASHTAB *hashtable[HASHVAL] = {0};
\f
/* Initialize the disassembler instruction table.
\f
/* Initialize the disassembler instruction table.
-
+
Initialize the hash table and instruction table for the
disassembler. This should be called once before the first call to
disasm(). */
Initialize the hash table and instruction table for the
disassembler. This should be called once before the first call to
disasm(). */
@@
-550,14
+549,14
@@
init_disasm (void)
hashtable[hashvalue] = &hashentries[i];
}
}
hashtable[hashvalue] = &hashentries[i];
}
}
-
+
/* Decode an Operand of an instruction.
/* Decode an Operand of an instruction.
-
+
This function formats and writes an operand of an instruction to
info based on the operand specification. When the `first' flag is
set this is the first operand of an instruction. Undefined operand
types cause a <dis error> message.
This function formats and writes an operand of an instruction to
info based on the operand specification. When the `first' flag is
set this is the first operand of an instruction. Undefined operand
types cause a <dis error> message.
-
+
Parameters:
disassemble_info where the operand may be printed
OPSPEC *opptr pointer to an operand specification
Parameters:
disassemble_info where the operand may be printed
OPSPEC *opptr pointer to an operand specification
@@
-565,7
+564,7
@@
init_disasm (void)
UINT pc pc of instruction; used for pc-relative disp.
int first flag which if nonzero indicates the first
operand of an instruction
UINT pc pc of instruction; used for pc-relative disp.
int first flag which if nonzero indicates the first
operand of an instruction
-
+
The operand specified is extracted from the instruction and is
written to buf in the format specified. The operand is preceded by
a comma if it is not the first operand of an instruction and it is
The operand specified is extracted from the instruction and is
written to buf in the format specified. The operand is preceded by
a comma if it is not the first operand of an instruction and it is
@@
-655,7
+654,7
@@
printop (struct disassemble_info *info,
else
(*info->fprintf_func) (info->stream, "%x", extracted_field);
break;
else
(*info->fprintf_func) (info->stream, "%x", extracted_field);
break;
-
+
case PCREL:
(*info->print_address_func)
(pc + (4 * (SEXT (inst, opptr->offset, opptr->width))),
case PCREL:
(*info->print_address_func)
(pc + (4 * (SEXT (inst, opptr->offset, opptr->width))),
@@
-684,7
+683,7
@@
printop (struct disassemble_info *info,
`pc' should be the address of this instruction, it will be used to
print the target address if this is a relative jump or call the
disassembled instruction is written to `info'.
`pc' should be the address of this instruction, it will be used to
print the target address if this is a relative jump or call the
disassembled instruction is written to `info'.
-
+
The function returns the length of this instruction in bytes. */
static int
The function returns the length of this instruction in bytes. */
static int
This page took
0.024972 seconds
and
4
git commands to generate.