Every microcontroller family has its own set of instructions that are typically carried out in a similar set of operations…