Skip to content

Add reg! macro? #1

@mbr

Description

@mbr

As mentioned by @oli-obk , a convenient register macro may be a good thing to spare users from having to write inline-assembly:

reg!(r0) = 42;
*(reg!(r0) + 3 as *const i32) = 42;
x = reg!(r0);

Metadata

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