Re: beginner and 8051



On 31 May 2006 08:28:44 -0700, "noemail12000@xxxxxxxxx"
<noemail12000@xxxxxxxxx> wrote:

Tim Wescott wrote:
Should you write your application in assembly language you will find
that you have to rewrite every line to port to another processor.

I'm going to study assembler.
I thought that's what " having same 8051 core" is all about. so, do
they all have different assembler instructions? and even if I create
small app which uses only 1 I/O port and timer - I'll not be able to
move it to another mcu without a lot of changes?

If you stick to the architectural features that are part of the common
set then yes, your code should be portable. Recommend that you download
a few of the device manuals from the major vendors to see what is the
same and what is different among them.

--
Rich Webb Norfolk, VA
.



Relevant Pages

  • Re: beginner and 8051
    ... that you have to rewrite every line to port to another processor. ... I'm going to study assembler. ... helping hand. ...
    (comp.arch.embedded)
  • Re: beginner and 8051
    ... that you have to rewrite every line to port to another processor. ... I'm going to study assembler. ... they all have different assembler instructions? ... peripherals but 95% are the same. ...
    (comp.arch.embedded)
  • Re: beginner and 8051
    ... that you have to rewrite every line to port to another processor. ... I'm going to study assembler. ... they all have different assembler instructions? ... peripherals but 95% are the same. ...
    (comp.arch.embedded)
  • RE: Wheres the full list of ports to IA-64?
    ... To be precise, it is a rewrite, not a port. ... or port their OpenVMS ... Outgoing mail is certified Virus Free. ...
    (comp.os.vms)
  • Re: LaBrea for BSD?
    ... Subject: LaBrea for BSD? ... >>>It would be MUCH better to rewrite it rather than port it. ... > piece of code is a good idea but it also lacks features. ...
    (FreeBSD-Security)