mscratch

Machine Scratch Register

Scratch register for software use. Bits are not interpreted by hardware.

Attributes

Defining Extension

  • Sm, version >= 0

CSR Address

0x340

Length

32-bit

64-bit

Privilege Mode

M

Format

This CSR format changes dynamically.

svg
svg

Field Summary

Name Location Type Reset Value

SCRATCH

63:0

RW

0

Fields

SCRATCH

Location

63:0

Description

Scratch value

Type

RW

Reset value

0