Remove debug print

This commit is contained in:
Luke Street 2023-01-21 10:52:21 -05:00
parent fa28352e08
commit 09bbc534bd
1 changed files with 3 additions and 3 deletions

View File

@ -38,9 +38,9 @@ pub fn process_code(
let branch_dest = let branch_dest =
if is_branch { Some((cur_addr as i32 + branch_offset) as u32) } else { None }; if is_branch { Some((cur_addr as i32 + branch_offset) as u32) } else { None };
println!("{:?}", instruction.get_operands_slice()); let operands = instruction.get_operands_slice();
let mut args = Vec::new(); let mut args = Vec::with_capacity(operands.len() + 1);
for op in instruction.get_operands_slice() { for op in operands {
match op { match op {
OperandType::cpu_immediate OperandType::cpu_immediate
| OperandType::cpu_label | OperandType::cpu_label