I prompt the user for input:
mov ah, 0Ah
mov dx, OFFSET buffer
int 21h
My assignment tells me that ctrl-c should "abort the program with an appropriate error message".
I was told that int 23h is called whenever ctrl-c is called or detected. Apparently I can register my own interrupt handler via int 21h / ah=25h.
But I don't know how to make an interrupt handler, nor do I know where this is supposed to go in my code. Assistance would be appreciated, thank you in advance.