import "sysdata/test-programs/hblib/std" as std;



fn main(){
    let ADDR = 0;
    // FIXME: Actually check the arch argument
    let architecture = "ARM";
    if architecture == "ARM" {
        std::Info("Arm Serial Driver");
        ADDR = 0x09000000;
    }


    lra(r3, r0, ADDR);

    li64(r1, 0);
    li8(r1, 65);
    st(r1, r0, ADDR, 1);
        
    // New Line
    li8(r1, 12);st(r1, r0, ADDR, 1);

    tx();
}

main();