self.lines.push(line.to_string());
}
- asm_macro!(copy_top_stack_value_to, " lw {}, 0(s2)", &str);
- asm_macro!(copy_offset_stack_value_to, " lw {}, {}*8(s2)", &str, isize);
- asm_macro!(deref_pointer_to_from, " lw {}, 0({})", &str, &str);
- asm_macro!(copy_to_top_of_stack, " sw {}, 0(s2)", &str);
- asm_macro!(move_stack_ptr_by_cells, " addi s2, s2, {}*8", isize);
+ asm_macro!(copy_top_stack_value_to, "lw {}, 0(s2)", &str);
+ asm_macro!(copy_offset_stack_value_to, "lw {}, {}*8(s2)", &str, isize);
+ asm_macro!(deref_pointer_to_from, "lw {}, 0({})", &str, &str);
+ asm_macro!(copy_to_top_of_stack, "sw {}, 0(s2)", &str);
+ asm_macro!(move_stack_ptr_by_cells, "addi s2, s2, {}*8", isize);
fn pop_to(&mut self, reg: &str) {
self.copy_top_stack_value_to(reg);