Kelvin Ng (kelvinng@iname.com) Wed, 16 Feb 2000 08:08:57 -0800
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- New Message to:eece379@listhost.ece.ubc.ca
- Reply to:Re: help
- Next message: Ed Casas: "Re: help"
- Previous message: Eric Wei: "Re: help"
- Next in thread: Ed Casas: "Re: help"
Date: Wed, 16 Feb 2000 08:08:57 -0800 From: Kelvin Ng <kelvinng@iname.com> Subject: Re: helpThe characters entered did not got printed twice. It was displayed once when you entered it by DOS, and then printed once by your program. Kelvin At 01:51 AM 2/16/00 -0800, Eric Wei wrote: >I wrote this code to test whether I can print an input from keyboard to >the screen. However, when I run the code, I ended up getting the input >printed twice. Could someone please help me with this? Thanks > >Eric > >code segment public > assume cs: code, ds: code > org 100h > >start: > mov ah, 1 > int 21h > cmp al, 36 > jz done > push ax > push dx > mov dl, al > mov ah, 2 > int 21h > pop dx > pop ax > jmp start > >done: > int 20h > >code ends > end start
- Next message: Ed Casas: "Re: help"
- Previous message: Eric Wei: "Re: help"
- Next in thread: Ed Casas: "Re: help"