projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change argument type to bfd_byte
[deliverable/binutils-gdb.git]
/
sim
/
rl78
/
rl78.c
diff --git
a/sim/rl78/rl78.c
b/sim/rl78/rl78.c
index 1ffee5f3e05f94710599e3735ae1e20815e0545f..95ae1b1a78564fb5902e42aacda3b1b7832fa1c4 100644
(file)
--- a/
sim/rl78/rl78.c
+++ b/
sim/rl78/rl78.c
@@
-1,6
+1,6
@@
/* rl78.c --- opcode semantics for stand-alone RL78 simulator.
/* rl78.c --- opcode semantics for stand-alone RL78 simulator.
- Copyright (C) 2008-201
3
Free Software Foundation, Inc.
+ Copyright (C) 2008-201
6
Free Software Foundation, Inc.
Contributed by Red Hat, Inc.
This file is part of the GNU simulators.
Contributed by Red Hat, Inc.
This file is part of the GNU simulators.
@@
-421,10
+421,16
@@
decode_opcode (void)
int a, b, v, v2;
unsigned int u, u2;
int obits;
int a, b, v, v2;
unsigned int u, u2;
int obits;
+ RL78_Dis_Isa isa;
+
+ isa = (rl78_g10_mode ? RL78_ISA_G10
+ : g14_multiply ? RL78_ISA_G14
+ : g13_multiply ? RL78_ISA_G13
+ : RL78_ISA_DEFAULT);
rl78_data.dpc = pc;
opcode_size = rl78_decode_opcode (pc, &opcode,
rl78_data.dpc = pc;
opcode_size = rl78_decode_opcode (pc, &opcode,
- rl78_get_byte, &rl78_data);
+ rl78_get_byte, &rl78_data
, isa
);
opcode_pc = pc;
pc += opcode_size;
opcode_pc = pc;
pc += opcode_size;
@@
-851,7
+857,7
@@
decode_opcode (void)
rl78_data.dpc = pc;
opcode_size = rl78_decode_opcode (pc, &opcode,
rl78_data.dpc = pc;
opcode_size = rl78_decode_opcode (pc, &opcode,
- rl78_get_byte, &rl78_data);
+ rl78_get_byte, &rl78_data
, isa
);
pc += opcode_size;
tprintf (" skipped: %s\n", opcode.syntax);
break;
pc += opcode_size;
tprintf (" skipped: %s\n", opcode.syntax);
break;
This page took
0.025129 seconds
and
4
git commands to generate.