For the very specific instance you mention just compare the 'hours' register to 12. If it is equal, turn on the output.
For a more general application (turn on output for a variable number of minutes starting at a variable time - defined in hours and minutes) then we'll have to get a little deeper.
It's best to experiment. Start by turning on an output if the seconds register is 30 seconds or greater (using seconds because it's easy to play with). Once you have that we'll move on.
In case you are wondering why I'm not giving you a complete solution it's because I don't have a CPU here to verify. And, you learn a lot faster by making mistakes then fixing them (boy, do I know that.)