Reply by p.tucci <a t> gmail.com●January 29, 20082008-01-29
Yep but sometimes you need to code in asm because there are things
that can not be done in C (or would require a lot more of instructions
to do the same thing).
Plus, if i remember well, the free C18 compiler from microchip is
somehow limited.
On Jan 29, 11:07 am, Dave <d...@dave.com> wrote:
> Or you could use the free C compiler from Microchip which makes the code
> even easier to read and much safer if used in combination with MISRA.
>
> On Tue, 29 Jan 2008 07:57:36 -0000, p.tucci <a t> gmail.com
>
>
>
> <p.tu...@gmail.com> wrote:
> > Hi all,
> > i just released my first version ofSAsmE, it's a cross platform smart
> > editor (with syntax highlighting too of course) for PIC18 Asm with a
> > very nice feature: it can translate brain-struggling asm code into
> > human readable pseudo-code just pressing "Control-Space"...
> > for example code such as
> > -----------------------------
> > movlw UPLOAD_CHUNK_SERIE
> > movwf bl_counter2,A
> > movlw BL_RAM_BANK
> > movwf FSR0H,A
> > clrf FSR0L,A
> > -----------------------------
>
> > gets translated into more readable
> > -----------------------------
> > W = UPLOAD_CHUNK_SERIE
> > bl_counter2 = W {A}
> > W = BL_RAM_BANK
> > FSR0H = W {A}
> > FSR0L = 0 {A}
> > -----------------------------
>
> > I hope someone could find it useful...
> > Link:http://www.primianotucci.com/go/sasme
>
> > Best Regards,
> > Primiano Tucci
>
> --
> Using Opera's revolutionary e-mail client:http://www.opera.com/mail/
Reply by Dave●January 29, 20082008-01-29
Or you could use the free C compiler from Microchip which makes the code=
=
even easier to read and much safer if used in combination with MISRA.
On Tue, 29 Jan 2008 07:57:36 -0000, p.tucci <a t> gmail.com =
<p.tucci@gmail.com> wrote:
> Hi all,
> i just released my first version of SAsmE, it's a cross platform smart=
> editor (with syntax highlighting too of course) for PIC18 Asm with a
> very nice feature: it can translate brain-struggling asm code into
> human readable pseudo-code just pressing "Control-Space"...
> for example code such as
> -----------------------------
> movlw UPLOAD_CHUNK_SERIE
> movwf bl_counter2,A
> movlw BL_RAM_BANK
> movwf FSR0H,A
> clrf FSR0L,A
> -----------------------------
>
> gets translated into more readable
> -----------------------------
> W =3D UPLOAD_CHUNK_SERIE
> bl_counter2 =3D W {A}
> W =3D BL_RAM_BANK
> FSR0H =3D W {A}
> FSR0L =3D 0 {A}
> -----------------------------
>
> I hope someone could find it useful...
> Link: http://www.primianotucci.com/go/sasme
>
> Best Regards,
> Primiano Tucci
Reply by p.tucci <a t> gmail.com●January 29, 20082008-01-29
Hi all,
i just released my first version of SAsmE, it's a cross platform smart
editor (with syntax highlighting too of course) for PIC18 Asm with a
very nice feature: it can translate brain-struggling asm code into
human readable pseudo-code just pressing "Control-Space"...
for example code such as
-----------------------------
movlw UPLOAD_CHUNK_SERIE
movwf bl_counter2,A
movlw BL_RAM_BANK
movwf FSR0H,A
clrf FSR0L,A
-----------------------------
gets translated into more readable
-----------------------------
W = UPLOAD_CHUNK_SERIE
bl_counter2 = W {A}
W = BL_RAM_BANK
FSR0H = W {A}
FSR0L = 0 {A}
-----------------------------
I hope someone could find it useful...
Link: http://www.primianotucci.com/go/sasme
Best Regards,
Primiano Tucci