Skip to main content

count_tasm_instructions

Function count_tasm_instructions 

Source
pub fn count_tasm_instructions(tasm: &str) -> usize
Expand description

Count the number of TASM instructions in a compiled output string. Skips comments, labels, blank lines, and the halt instruction.