Implemented boolean operators
This commit is contained in:
parent
13161f5021
commit
1c4d2d4f88
9 changed files with 198 additions and 24 deletions
|
@ -21,8 +21,9 @@ type state struct {
|
|||
|
||||
// counter stores how often a certain statement appeared so we can generate a unique label from it.
|
||||
type counter struct {
|
||||
loop int
|
||||
branch int
|
||||
loop int
|
||||
branch int
|
||||
subBranch int
|
||||
}
|
||||
|
||||
// PrintInstructions shows the assembly instructions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue