Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Apr 2014 10:44:22 +0800
From:      Erich Dollansky <erichsfreebsdlist@alogt.com>
To:        Jorge Luis Carvalho Santos <jorgeassembler1@outlook.com>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: Assembly continues to be used in the development of FreeBSD?
Message-ID:  <20140408104422.73037714@X220.alogt.com>
In-Reply-To: <COL127-W467DCAD7917F70A0590C7BE8680@phx.gbl>
References:  <COL127-W467DCAD7917F70A0590C7BE8680@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Mon, 7 Apr 2014 21:16:50 +0300
Jorge Luis Carvalho Santos <jorgeassembler1@outlook.com> wrote:

> According to the book "Complete and Total C" by Herbert Schildt, the
> general rule is not to use Assembly because it creates too many
> problems. 

I would say that this is wrong. The only reason for me not to use 
assemblers is the portability. Proper written C code can be compiled on
x86, ARM, SPARC, POWER or Itanium and still results in a usable
program. Assembler programs are written for a single CPU type. I might
be even a problem to switch between 32 and 64 bits on an x86 CPU.

Erich

_______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To
> unsubscribe, send any mail to
> "freebsd-hackers-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140408104422.73037714>