This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Checking if the command type is a label in my driver loop | |
end_condition = true | |
if index != instruction_array.length-1 | |
end_condition = false | |
end | |
code_writer.write_label(end_condition, arg_1) | |
# At the end of my driver loop | |
# If the last instruction isn't a label, an infinite loop is still made | |
if index == instruction_array.length-1 && command_type != :C_LABEL |
NewerOlder