Re: A85: Problem assembling 18K file with TASM


[Prev][Next][Index][Thread]

Re: A85: Problem assembling 18K file with TASM



On Sun, 17 Aug 1997 09:23:40 -0700 (PDT) Greg Hill <gregh@xmission.com>
writes:


>The source code is *MUCH* larger than the actual compiled program. For
>example, a line like this in the source code would use 49 bytes:
>  add hl,de     ; add the two registers together
>But after it gets compiled, that line takes about 2-4 (I don't 
>remember for sure) bytes.

Actually, the "ADD HL,DE" instruction consists of only one byte ($19). 

--
Patrick Davidson (ariwsi@juno.com)
Visit my home page!  Stuff for Amiga, TI-85, TI-92, even DOS!
http://www.calweb.com/~kwdavids/patrick/
http://www.toptown.com/hp/ariwsi/


References: