Skip to content

[ Question ] UART FIFO Constant #7

@ldelossa

Description

@ldelossa

Hey there,

I'm trying to write directly to UART on the riscv virt machine type in qemu.

I see you're usage here:
https://github.com/noteed/riscv-hello-asm/blob/main/hello.s#L28

I'm not familiar with the way the defined constant is wrapping the t0 register. What is this doing?

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