Implemented boolean operators

This commit is contained in:
Eduard Urbach 2024-07-08 13:38:44 +02:00
parent 13161f5021
commit 1c4d2d4f88
Signed by: eduard
GPG key ID: 49226B848C78F6C8
9 changed files with 198 additions and 24 deletions

View file

@ -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.