Chapter 8 Code_Writer.pyにwrite_label()、write_goto()、write_if()という3つの函数を加える。 Code_Writer.py: class Code_Writer: def __init__(self, file_path): self.file = open(file_path, "w") self.label_count = 0 self.calcs = { "neg":"M=-D", "not":"M=!D", "add":"M=D+M", "sub":"M=M-D", "and":"M=D&M", "or":"M=D|M",} s…