Coursework made with Proteus simulator and Assembly language that emulates a clock with an alarm function.
There is an error due to which there is a hold in the second's counting sequence - to fix that you need to count ticks between reinitializations and implement (32767 - tick) number to the register (delay will be considered).