Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!orion.oac.uci.edu!beckman.com!dn71!a_rubin From: a_rubin@dsg4.dse.beckman.com (Arthur Rubin) Newsgroups: comp.os.msdos.programmer Subject: Re: clearing registers Message-ID: Date: 21 Jun 91 15:44:37 GMT References: <1991Jun21.030948.10951@cs.mcgill.ca> <1991Jun21.031233.11058@cs.mcgill.ca> Lines: 20 Nntp-Posting-Host: dn71.dse.beckman.com In <1991Jun21.031233.11058@cs.mcgill.ca> storm@cs.mcgill.ca (Marc WANDSCHNEIDER) writes: >Is there any dedicated instruction in the 8088 instruction set that will >perform a clear on a register or memory location >ie (a la PDP 11) >CLR CX >CLR AH >CLR MEMORY_LOCATION >So far, all I've seen is XOR AH,AH; MOV CX, 0; and that's about it. What's wrong with MOV WORD PTR MEMORY_LOCATION, 0 -- 2165888@mcimail.com 70707.453@compuserve.com arthur@pnet01.cts.com (personal) a_rubin@dsg4.dse.beckman.com (work) My opinions are my own, and do not represent those of my employer.