Post Reply 
monic part 6: the mC programming language and compiler
06-25-2022, 07:12 AM (This post was last modified: 06-25-2022 09:12 AM by F-73P.)
Post: #13
RE: monic part 6: the mC programming language and compiler
The switch statement now works as expected when there is no break statement. I modified the branch instructions so that the code falls through when there has been a previous case match:

[Image: 52171265988_70668211fd.jpg][Image: 52170242747_899e126977.jpg]

I've also added support for arrays:

[Image: 52171742060_885b0243c4.jpg]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: monic part 6: the mC programming language and compiler - F-73P - 06-25-2022 07:12 AM



User(s) browsing this thread: 1 Guest(s)