linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* DOS assembly questions?
@ 2003-10-20 23:46 michael young
  2003-10-21  6:05 ` Fekete Gabor
  2003-10-21 18:05 ` michael young
  0 siblings, 2 replies; 9+ messages in thread
From: michael young @ 2003-10-20 23:46 UTC (permalink / raw)
  To: linux-assembly

Hi,
   First, is it OK to ask questions about assembly programming in DOS on 
this list?
If so, here is my problem.
I am a real newb at assembly and am still learning the very basics.
I have this bit of code. The way I understand it, this should print out 
"10".
It does not. It prints some strange ASCII chars.

mov cx, 10
mov dx, cx
mov ah, 9
int 21

Where am I going wrong?

thank you for your help,
Michael


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-10-28 22:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-20 23:46 DOS assembly questions? michael young
2003-10-21  6:05 ` Fekete Gabor
2003-10-21 18:05 ` michael young
2003-10-22  6:07   ` willy meier
2003-10-23 17:00     ` michael young
2003-10-24 17:12       ` willy meier
2003-10-28 22:19         ` michael young
2003-10-24  5:22   ` FernanBolando
2003-10-28 22:11     ` michael young

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).