🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #7188

clearing registers

#7188
From: Marc WANDSCHNEIDER
Date: Fri, 21 Jun 1991 03:12
20 lines
1145 bytes
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.

./*-
storm@bart.cs.mcgill.ca
storm@sizone.UUCP
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
storm@cs.mcgill.ca         McGill University           It's 11pm, do YOU
Marc Wandschneider         Montreal, CANADA            know what time it is?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Technical Details
Message-ID: <1991Jun21.031233.11058@cs.mcgill.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!samsung!think.com!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!quiche!storm
References: <1991Jun21.030948.10951@cs.mcgill.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!samsung!think.com!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!quiche!storm
From: storm@cs.mcgill.ca (Marc WANDSCHNEIDER)
Newsgroups: comp.os.msdos.programmer
Subject: clearing registers
Message-ID: <1991Jun21.031233.11058@cs.mcgill.ca>
Date: 21 Jun 91 03:12:33 GMT
References: <1991Jun21.030948.10951@cs.mcgill.ca>
Sender: news@cs.mcgill.ca (Netnews Administrator)
Organization: SOCS, McGill University, Montreal, Canada
Lines: 20