diff options
author | Stu Grossman <grossman@cygnus> | 1996-09-28 01:38:45 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1996-09-28 01:38:45 +0000 |
commit | 88777ce2a6681104eed8c7a15df49acf03935134 (patch) | |
tree | 09c0aa03669c7dd8b87bf117e7f84ed5f7b92131 /sim/v850/gencode.c | |
parent | 8d622d4c7c24d005fa3b0affd6d8386171769e9e (diff) | |
download | fsf-binutils-gdb-88777ce2a6681104eed8c7a15df49acf03935134.zip fsf-binutils-gdb-88777ce2a6681104eed8c7a15df49acf03935134.tar.gz fsf-binutils-gdb-88777ce2a6681104eed8c7a15df49acf03935134.tar.bz2 |
* gencode.c (write_opcodes): Output hex values for opcode mask
and patterns.
* interp.c (sim_resume): Save and restore PC from the appropriate
register.
* (sim_fetch_register sim_store_register): Fix byte-order problem
with reading and writing registers.
* simops.c (OP_FFFF): Implement pseudo-breakpoint insn.
Diffstat (limited to 'sim/v850/gencode.c')
-rw-r--r-- | sim/v850/gencode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/v850/gencode.c b/sim/v850/gencode.c index 3e98ace..a637fe2 100644 --- a/sim/v850/gencode.c +++ b/sim/v850/gencode.c @@ -94,7 +94,7 @@ write_opcodes () for (opcode = (struct v850_opcode *)v850_opcodes; opcode->name; opcode++) { - printf (" { %ld,%ld,OP_%X,", + printf (" { 0x%x,0x%x,OP_%X,", opcode->opcode, opcode->mask, opcode->opcode); Opcodes[curop++] = opcode->opcode; |