lib-rv32-asm 0.2.0

An extension to lib_rv32 which provides an assembler.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
/// Enumeration of possible errors when assembling a program.
#[derive(Debug, PartialEq)]
pub enum AssemblerError {
    InvalidOperationError,
    NoSuchLabelError,
    NoSuchRegisterError,
    WrongOperandTypeError,
    TooManyTokensError,
    TooFewTokensError,
    ImmediateTooLargeError,
    InvalidImmediateError,
    IOError,
}