Finally, we can implement the M88kTargetMachine class. This class holds all used sub-target instances. It also owns a subclass of…