🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #643

binutils-beta-1.94 M68k opcode disassembly

#643
From: Andrew Smith
Date: Fri, 14 Aug 1992 03:40
18 lines
1313 bytes
The file binutils-beta-1.94/binutils/m68k-pinsn.c has some problems with
exotic 68k opcodes.

1. It has no support for "P", "Y", "X", "W" and "Z" operand types (used by PMMU)

2. It searches the opcode table sequentially i.e. alphabetically, looking for
an opcode which matches the supplied hex opcode. This results in it finding
the floating point instructions Fxxxx before the pmmu ones Pxxxx and displaying
PMMU opcodes as "Fxxxx (cpid=0)" rather than as "unknown" which would be more
useful. Thus, even if you add support for Pxxx opcodes, they will not be found
unless they are placed out of order, before the Fxxx opcode descriptions in "m68k.h".
Is there more correct way of fixing this general problem than just rearranging 
"m68k.h"? It will occur anywhere where there are several alternative decodings
of an opcode.

Andrew Smith
Distributed Network Systems
SynOptics Communications Inc.
Technical Details
Message-ID: <9208140340.AA03557@milliways>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!synoptics.com!asmith

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!synoptics.com!asmith
From: asmith@synoptics.com (Andrew Smith)
Subject: binutils-beta-1.94 M68k opcode disassembly
Message-ID: <9208140340.AA03557@milliways>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 14 Aug 1992 03:40:09 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 19