Eric Wei (ewei@physics.ubc.ca) Wed, 16 Feb 2000 01:51:34 -0800
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- New Message to:eece379@listhost.ece.ubc.ca
- Reply to:Re: help
- Next message: Kelvin Ng: "Re: help"
- Previous message: plin@ece.ubc.ca: "lab4"
- Next in thread: Kelvin Ng: "Re: help"
- Reply: Kelvin Ng: "Re: help"
- Reply: Ed Casas: "Re: help"
From: "Eric Wei" <ewei@physics.ubc.ca> Subject: Re: help Date: Wed, 16 Feb 2000 01:51:34 -0800I 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: Kelvin Ng: "Re: help"
- Previous message: plin@ece.ubc.ca: "lab4"
- Next in thread: Kelvin Ng: "Re: help"
- Reply: Kelvin Ng: "Re: help"
- Reply: Ed Casas: "Re: help"