Skip to content

[M68000] Add Motorola CPU32 (683xx) support #1244

@dzidaV8

Description

@dzidaV8

Currently Ghidra lacks CPU32 (Motorola/Freescale 683xx) processor support.

CPU32 instruction set is same as 68020, with exception of:

The folllowing instructions are CPU32 specific:

  • LPSTOP — low-power stop
  • TBLxxx — table lookup and interpolate

The following M68020 instructions are NOT implemented on the CPU32:

  • BFxxx — Bit Field Instructions (BFCHG, BFCLR, BFEXTS, BFEXTU, BFFFOBFINS, BFSET, BFTST)
  • CALLM, RTM — Call Module, Return Module
  • CAS, CAS2 — Compare and Set (Read-Modify-Write Instructions)
  • cpxxx — Coprocessor Instructions (cpBcc, cpDBcc, cpGEN, cp RESTORE,cpSAVE, cpScc, cpTRAPcc)
  • PACK, UNPK — Pack, Unpack BCD Instructions

I have made some effort to try and add CPU32 instructions in my fork.

CPU32 Reference Manual

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions