What exactly is the question?
Six
then the result is in register ah (1 have code 2, 2 has 3 and so on)
The user types one of teh digits 1,2 or 3 and the corresponding message in:
1 - HELLO
2 - GOODBYE
3 - HAVE A NICE DAY
is displayed followed by a new line, and then the sequence of events is repeated. Thus if the user types 1,3,2 the resulting display should be:
1HELLO
3HAVE A NICE DAY
2GOODBYE
thx in advance