That add command will not do what you think.
Since there is no dollar sign terminating the first name, just do the
int 21h/09h
with DX set to the address of the first name. It will continue printing until it hits the dollar sign after the last name.
...which means your first name will need a label.
Also, instead of padding the last name with spaces, pad it with dollar signs. :)
[AFTERWARD]
Once that is fixed, make another program with add commands in it and watch what they do in debug.
thines01
Postaholic
2,424 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402
If you look at this in debug, is your last name terminated with a dollar sign?
Also, you only need one print.
Print the address of the first name and it will also print the last name until it hits the dollar sign.
My guess is that you did not fill enough dollar signs in the last name.
thines01
Postaholic
2,424 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402