Skip to content

M68K: attribute suffixes for branches #1668

Open
@maximumspatium

Description

Capstone engine uses the .B/.W/.L suffixes for the branch attribute. Examples:

./cstool m68k40 "60 0c"
bra.b	$e

./cstool m68k40 "61 00 00 38"
bsr.w	$3a

./cstool m68k40 "60 FF 00 00 E9 3E"
bra.l	$e940

While being consequent, the common suffix for the short branch is BRA.S though. That's what the most 68k disassemblers out here will generate for the first instruction.

Question: should we use the more common syntax for short branches?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions