#![cfg_attr(target_arch = "riscv64", no_std, no_main)]

kartoffels_cpu_tests::test! {
    r#"
    .global _start

    _branch:
        li x3, 60
        ebreak

    _start:
        li x1, 123
        li x2, 123
        li x3, 50
        beq x1, x2, _branch
        ebreak
    "#
}

/*
 * x1 = 123
 * x2 = 123
 * x3 = 60
 */
