Skip to content

Align assembly? #370

Open
Open
@pozix604

Description

@pozix604

A lot of assembly listings align instruction operands to aid in reading. For example:

        and r8d, -86
        imul r8, rax
        or r8, r9
        and r8, rcx
        movzx r9d, byte ptr [rdi + rsi + 6]
        mov r10d, r9d
        and r10d, 85
        imul r10, rax

to

        and      r8d, -86
        imul     r8, rax
        or       r8, r9
        and      r8, rcx
        movzx    r9d, byte ptr [rdi + rsi + 6]
        mov      r10d, r9d
        and      r10d, 85
        imul     r10, rax

I'd like to suggest a feature enhancement to align operands via an option, e.g. --align.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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