1) Read my previous post paying attention to the bit which hints about learning the usage of [] for loading memory values.
2) Learn what a string is. When you take a character and add the value of '$', that does not make the character a '$' terminated string.
3) See the part about ensuring DS:DX points to the correct location. This does not mean that DX should contain the value you are wanting to print - it is a pointer
4) Before attempting this, you need to start by reading some assembly tutorials and familiarising yourself with some basic programming concepts (pointers, strings variables etc...).
Is the problem of how to print integer from register to screen
if so,...,take look @ this code, may be useful for you,it's print the contents of AX register to screen
In his case I'd add as homework to explain how that code works in detail. Just posting code won't really help in his case...
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]