Re: intermetrics z80 inefficiencies

mikeh@inmet.inmet.com
Thu, 26 Jul 90 23:06:57 GMT

          From comp.compilers

Related articles
intermetrics z80 inefficiencies rdeaton@ab.com (EATON, ROBERT) (1990-07-17)
Re: intermetrics z80 inefficiencies dwg@bpdsun1.UUCP (1990-07-18)
Re: intermetrics z80 inefficiencies mikeh@inmet.inmet.com (1990-07-26)
| List of all articles for this month |
Newsgroups: comp.compilers
From: mikeh@inmet.inmet.com
Nf-Id: #R:<1990Jul17:231931:inmet:19400002:000:1430
Keywords: C, Z80
Organization: Compilers Central
References: <231931@<1990Jul17>
Nf-From: inmet.inmet.com!mikeh Jul 25 17:43:00 1990
Date: Thu, 26 Jul 90 23:06:57 GMT



It was recognized several years ago that Intermetrics needed to strengthen
its 8-bit compiler line to compete in the marketplace. This was achieved
when Intermetrics merged with Whitesmiths Ltd. in December 1988, giving
Intermetrics a new line of state-of-the-art 8-bit compilers. These compilers
are as good or better than any found in the marketplace today. Below is the
same source code as posted in the previous note compiled with the Whitesmiths
z80 compiler.


      /*********************************************************************/
      Here is the equivalent C & asm listing of the Whitesmiths z80 compiler
      /*********************************************************************/


.psect _text
; 1 struct { char a[25]; char friend; } noptr, *ptr;
; 2
; 3 void func(void)
; 4 {
_func:
; 5 if(ptr->friend==1);
ld hl,(_ptr)
ld bc,25
add hl,bc
ld a,(hl)
cp 1
; 6 if(noptr.friend==1);
ld a,(_noptr+25)
cp 1
; 7 }
ret
.psect _bss
_ptr:
.byte [2]
_noptr:
.byte [26]
.public _ptr
.public _noptr
.public _func
                 .end




      /*****************************************************************/
Please contact us if you have comments or questions.


Intermetrics Inc.
733 Concord Ave.
Cambridge, MA 02138
617-661-0072
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.