Handle marker transition words.
WIP: Attempt to deal with write flags

Think I need to redo this to count explicit waveform and marker
instructions.