Re: beginner and 8051



In article <1149089324.497895.14980@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
noemail12000@xxxxxxxxx <noemail12000@xxxxxxxxx> writes
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.

OK.

I thought that's what " having same 8051 core" is all about.

not exactly.

so, do
they all have different assembler instructions?

No. Some have additional instructions for extended memory and some odd
peripherals but 95% are the same.

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?

Most 8051 code is completely portable. The basic ports and peripherals
are the same on al of them as are the first 5 interrupts.
--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ chris@xxxxxxxxxxxx www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/



.



Relevant Pages

  • Re: beginner and 8051
    ... that you have to rewrite every line to port to another processor. ... I'm going to study assembler. ... Recommend that you download ...
    (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. ... 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: USB 2.0 no longer works after istalling Win XP SP2
    ... USB2 capable PC but for some reason the peripheral has not operated ... correctly when it was connected to a USB2 root hub. ... peripheral to a USB1 root port and deals you the error message that you see. ... Do other USB2 peripherals work on the subject PC? ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Seriel port profiles in Blutooth?
    ... peripherals at the same time for serial comms? ... Chris Tacke, Embedded MVP ... Giving back to the embedded community ... Simply open each port using the associated port number. ...
    (microsoft.public.dotnet.framework.compactframework)