Step 2:
Set out the basic control structure (for loop control structure) and place
in and around it indicators of where statements will go -
code for var = expr ;(w=0)
code for var = expr ;(Begin for loop)
loop: code for boolExpr ; result in ACC: 1=true, 0=false
JMZ end
code for stmt ;(w=w+5)
code for assignment
JMP loop
end: NOP