Now, only the target machine is missing. With the target machine, we define the CPU architecture we’d like to generate…