linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: michael young <mhyoung@valdosta.edu>
To: linux-assembly@vger.kernel.org
Subject: DOS assembly questions?
Date: Mon, 20 Oct 2003 19:46:33 -0400	[thread overview]
Message-ID: <3F9473D9.8010304@valdosta.edu> (raw)

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


             reply	other threads:[~2003-10-20 23:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-20 23:46 michael young [this message]
2003-10-21  6:05 ` DOS assembly questions? 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F9473D9.8010304@valdosta.edu \
    --to=mhyoung@valdosta.edu \
    --cc=linux-assembly@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).