Skip to content

Some instructions not disassembling in Ghidra. #1

@Fishybob

Description

@Fishybob

Hi Chris, Thanks for making your M16c Ghidra support available on Github. I am working with some R8c/36 processors (cost reduced M16c) and noticed that a few MUL/MULU instructions are not disassembled in Ghidra.
The problematic instruction encodings I have seen are:

  • 79B0FD "MUL.W -3H[FB],R0"
  • 7D4BF6FF8F "MULU.W #8FFFH,-AH[FB]"
  • 7D4BFCB45F "MULU.W #5FB4H, -4H[FB]"
    (The disassembly is from the Renesas HEW tools.)

...Ah, I see your "TODO" notes in m16c.slaspec for MUL.W/MULU.W destinations so I guess this is a known issue...
Thanks again for making you work available!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions