text: #include "../Chip8.h"
  #include "SetDelayTimerToX.h"
  
  // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  SetDelayTimerToX::SetDelayTimerToX(uint16_t opcode)
      :theReg(SECOND_NIBBLE(opcode))
  {
  }
  // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  
  // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  void SetDelayTimerToX::Execute(Chip8* chip8)
  {    
      uint8_t value = chip8->GetVReg(theReg);    
      chip8->SetDelayTimerCounter(value);
  }
  // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%