From a279b1f5ff9b67119f3b77ef5f17707644dc765f Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Mon, 17 Jan 1994 00:38:56 +0000 Subject: [PATCH] * i386-dis.c (dis386): Use Yb and Yv for scasb and scasS. --- opcodes/ChangeLog | 24 ++++++++++++++++++++++++ opcodes/i386-dis.c | 10 +++++----- 2 files changed, 29 insertions(+), 5 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 65cb1cb72ce..0bf29b3d615 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,27 @@ +Sun Jan 16 14:20:16 1994 Jim Kingdon (kingdon@deneb.cygnus.com) + + * i386-dis.c (dis386): Use Yb and Yv for scasb and scasS. + +Thu Jan 6 12:38:05 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * sparc-dis.c m68k-dis.c alpha-dis.c a29k-dis.c: Fix comments. + +Wed Jan 5 11:56:21 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * i960-dis.c (print_insn_i960): Only read word2 if the instruction + needs it, to prevent reading past the end of a section. + +Wed Nov 17 17:20:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips-opc.h: Use macro for j instruction, to support SVR4 PIC. + Removed t,A case for la; always use t,A(b) case. + +Mon Nov 8 12:37:36 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + From Ted Lemen + * mips-dis.c (print_insn_arg): Handle 'k'. + * mips-opc.c: Make cache use k, not t. + Sun Nov 7 23:52:34 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) * alpha-opc.h, alpha-dis.c (print_insn_alpha): Add diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index e30b7fee699..b5d5c7dceae 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -415,8 +415,8 @@ struct dis386 dis386[] = { { "stosS", Yv, eAX }, { "lodsb", AL, Xb }, { "lodsS", eAX, Xv }, - { "scasb", AL, Xb }, - { "scasS", eAX, Xv }, + { "scasb", AL, Yb }, + { "scasS", eAX, Yv }, /* b0 */ { "movb", AL, Ib }, { "movb", CL, Ib }, @@ -1106,7 +1106,7 @@ print_insn_i386 (pc, info) if (*first) { if (op_index[0] != -1) - print_address (op_address[op_index[0]], info->stream); + (*info->print_address_func) (op_address[op_index[0]], info); else (*info->fprintf_func) (info->stream, "%s", first); needcomma = 1; @@ -1116,7 +1116,7 @@ print_insn_i386 (pc, info) if (needcomma) (*info->fprintf_func) (info->stream, ","); if (op_index[1] != -1) - print_address (op_address[op_index[1]], info->stream); + (*info->print_address_func) (op_address[op_index[1]], info); else (*info->fprintf_func) (info->stream, "%s", second); needcomma = 1; @@ -1126,7 +1126,7 @@ print_insn_i386 (pc, info) if (needcomma) (*info->fprintf_func) (info->stream, ","); if (op_index[2] != -1) - print_address (op_address[op_index[2]], info->stream); + (*info->print_address_func) (op_address[op_index[2]], info); else (*info->fprintf_func) (info->stream, "%s", third); } -- 2.30.2