1. Write your program:
Program Grammar
label ::= [a-zA-Z0-9_]+var ::= [a-zA-Z][a-zA-Z0-9_]*
int ::= -?[0-9]+
opn ::= int | var
instr ::=
- | var = add opn opn
- | var = mul opn opn
- | var = opn
- | blez opn label label
- | br label
- | ret
Draw control flow graph