Re: 89C51ED2
- From: Eeyore <rabbitsfriendsandrelations@xxxxxxxxxxx>
- Date: Fri, 05 Sep 2008 18:30:08 +0100
MooseFET wrote:
Eeyore wrote:
MooseFET wrote:
Is it written in ASM or C?
I think he said it was all written in asssembler <yuk>.
On an 8051, asm is really the way to go. The OP was making comments
about DPTR so I suspected asm but vagueness of his descriptions
sounded like a C programmer who doesn't really know what is going on
under the hood. Many C compilers overlay variables on the 8051 if he
is doing interrupts in C code he may be running a routine in the
interrupt code that overlays one of his variables.
I still use PL/M 51. So easy to use. You can treat it as highish level language and
set a register directly in the next line.
I can't even begin to imagine coding some of the fairly complex (for microcontrollers)
stuff that we did with 8051s in asm. The mind boggles. Never mind code maintenance.
Graham
.
- Follow-Ups:
- Re: 89C51ED2
- From: MooseFET
- Re: 89C51ED2
- From: Gordon S. Hlavenka
- Re: 89C51ED2
- References:
- Re: 89C51ED2
- From: Eeyore
- Re: 89C51ED2
- From: TT_Man
- Re: 89C51ED2
- From: MooseFET
- Re: 89C51ED2
- From: Eeyore
- Re: 89C51ED2
- From: MooseFET
- Re: 89C51ED2
- Prev by Date: Re: 89C51ED2
- Next by Date: Re: Arctic sea ice
- Previous by thread: Re: 89C51ED2
- Next by thread: Re: 89C51ED2
- Index(es):
Relevant Pages
|