pub fn build_program(instructions: Vec<String>) -> String {
    let mut out = String::from(
r###".syntax unified

.global main
.type main, %function
main:
"###);

    for line in instructions {
        out.push_str(&line);
        out.push('\n');
    }

    out.push_str(
r###"ldr lr, =0x444F4E45 @ "DONE"
.size main, . - main

.section .isr_vector, "a", %progbits
g_pfnVectors:
.word _stack_end
.word main

"###);

    return out;
}
/**
 * Used to convert fuzz test generated instructions into
 * a valid program.
 */
Used to convert fuzz test generated instructions into
a valid program.
Used to convert fuzz test generated instructions into a valid program .
pub fn build_program(instructions: Vec<String>) -> String {
    let mut out = String::from(
r###".syntax unified
.global main
.type main, %function
main:
"###);
    for line in instructions {
        out.push_str(&line);
        out.push('\n');
    }
    out.push_str(
r###"ldr lr, =0x444F4E45 @ "DONE"
.size main, . - main
.section .isr_vector, "a", %progbits
g_pfnVectors:
.word _stack_end
.word main
"###);
    return out;
}
pub fn build_program ( instructions : Vec < String > ) -> String { let mut out = String :: from ( r###".syntax unified

.global main
.type main, %function
main:
"### ) ; for line in instructions { out . push_str ( & line ) ; out . push ( '\n' ) ; } out . push_str ( r###"ldr lr, =0x444F4E45 @ "DONE"
.size main, . - main

.section .isr_vector, "a", %progbits
g_pfnVectors:
.word _stack_end
.word main

"### ) ; return out ; }
Used to convert fuzz test generated instructions into
 a valid program.
Used to convert fuzz test generated instructions into a valid program .
instructions
Vec<String>