In the M88kMCTargetDesc.cpp file, we need to make a couple of additions: First, we need a new factory method for…