Skip to content

CSR Registers access error #52

@mvlamar

Description

@mvlamar

Hi,
The program

.text
csrrs t0, 3072, x0 # trying to read CSR cycle register

causes: Error in riscv1.asm line 2 column 10: "3072": operand is out of range
The same for read instret, cycleh, and instreth registers.

[]
Marcus Vinicius

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