aboutsummaryrefslogtreecommitdiff
path: root/opcodes/s12z-opc.h
AgeCommit message (Collapse)AuthorFilesLines
2019-04-24S12Z: s12z-opc.h: Add extern "C" bracketingJohn Darrington1-1/+8
opcodes/ * s12z-opc.h: Add extern "C" bracketing to help users who wish to use this interface in c++ code.
2019-04-12S12Z: opcodes: Replace "operator" with "optr".John Darrington1-2/+2
opcodes/ * s12z-dis.c, s12z-opc.c, s12z-opc.h: Replace operator with optr.
2019-01-03S12Z: opcodes: Separate the decoding of operations from their display.John Darrington1-0/+267
This change adds an abstraction layer between the decoding of machine operations and their disassembled textual representation. This allows the decoding routines to be re-used for other purposes (at the expense) of slightly slower running time. ChangeLog: opcodes/ * s12z-opc.c: New file. * s12z-opc.h: New file. * s12z-dis.c: Removed all code not directly related to display of instructions. Used the interface provided by the new files instead. * Makefile.am (TARGET_LIBOPCODES_CFILES) Add s12z-opc.c. * Makefile.in: regenerate. * configure.ac (bfd_s12z_arch): Correct the dependencies. * configure: regenerate.