projects
/
platform
/
upstream
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f2cd20
)
fix endian problem
author
Steve Chamberlain
<sac@cygnus>
Thu, 21 Jan 1993 01:33:20 +0000
(
01:33
+0000)
committer
Steve Chamberlain
<sac@cygnus>
Thu, 21 Jan 1993 01:33:20 +0000
(
01:33
+0000)
sim/h8300/writecode.c
patch
|
blob
|
history
diff --git
a/sim/h8300/writecode.c
b/sim/h8300/writecode.c
index
45570dc
..
93b7568
100644
(file)
--- a/
sim/h8300/writecode.c
+++ b/
sim/h8300/writecode.c
@@
-398,7
+398,7
@@
bsr (p, a)
printf ("reg[7]-=2;\n");
printf ("tmp = reg[7];\n");
printf ("SET_WORD_MEM(tmp, (npc-saved_state.mem)*2);\n");
- printf ("npc += ((
(char *)pc)[1]
)>>1;\n");
+ printf ("npc += ((
char)b1
)>>1;\n");
}
static void