Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!mips!pacbell.com!att!linac!uwm.edu!ux1.cso.uiuc.edu!bradley.bradley.edu!pallas!kabra437 From: kabra437@pallas.athenanet.com (Ken Abrams) Newsgroups: comp.sys.ibm.pc.misc Subject: Re: Need technical explanation of why .COM/.EXE being binary/Hex Message-ID: <1033@pallas.athenanet.com> Date: 15 Mar 91 18:19:34 GMT References: <65157@eerie.acsu.Buffalo.EDU> Organization: Athenanet, Inc., Springfield, Illinois Lines: 27 In article <65157@eerie.acsu.Buffalo.EDU> v087mxgb@ubvmsa.cc.buffalo.edu writes: > >could someone please explain to me why .COM files are >binary and why .EXE files are hex.. >also,,, when programming in assy, do I make binary files Since you asked for "technical" answers, I hope mine is not too simple ;-). The fact of the matter is that EVERYTHING that is stored in the computer is really binary. The translation only occurs on output so that dumb humans can make some use of the data in a (relatively) convenient manner. HEX is just a handy (?) method of representing the binary data. It can also be represented in Octal, etc. but the source file is still binary. Even text is really stored in binary and is translated into readable characters upon output using a "numbering system" or translator called ASCII. But you probably knew all that already.......... The answer that you are probably really looking for is that the operating system program that loads COM and EXE files and executes them is slightly different; in effect, a different translator. This does NOT mean, however, that COM files are binary and EXE files are HEX. -- ======================================================== Ken Abrams uunet!pallas!kabra437 Illinois Bell kabra437@athenanet.com Springfield (voice) 217-753-7965