First, you're gonna need PKSM and PCHex++. Homebrew and CIA both work.
Next you're going to want to deposit your pokemon into the PKSM bank, save bank changes, save and exit.
Now open up your gen 6 game, (Alpha Sapphire, Omega Ruby, X or Y) with PKSM and get the desired pokemon from bank and...