Re: beginner and 8051
- From: Chris Hills <chris@xxxxxxxxxxxx>
- Date: Wed, 31 May 2006 17:13:24 +0100
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 \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
.
- Follow-Ups:
- Re: beginner and 8051
- From: noemail12000@xxxxxxxxx
- Re: beginner and 8051
- References:
- beginner and 8051
- From: noemail12000
- Re: beginner and 8051
- From: Tim Wescott
- Re: beginner and 8051
- From: noemail12000@xxxxxxxxx
- beginner and 8051
- Prev by Date: Re: beginner and 8051
- Next by Date: Re: beginner and 8051
- Previous by thread: Re: beginner and 8051
- Next by thread: Re: beginner and 8051
- Index(es):
Relevant Pages
|