Actually there is a small assembler in FF4.7.
Making a complete assembler would require some effort.
I also think it would be quite large, using quite much program memory.
/Mike
ASSEMBLER words
---------------
The following definitions are in the core dictionary.
as, ( lower upper -- )
Append a 24-bit code
as0 ( bit ram-addr -- u )
Help word for bit manipulation opcodes
rcall, ( rel-addr -- )
bra, ( cc rel-addr -- )
return, ( -- )
retfie, ( -- )
bclr, ( bit ram-addr -- )
bset, ( bit ram-addr -- )
btst, ( bit ram-addr -- )
btsc, ( bit ram-addr -- )
btss, ( bit ram-addr -- )
z, ( -- cc )
nz, ( -- cc )
not, ( cc -- not-cc )
if, ( cc -- here )
else, ( back-addr -- here )
then, ( back-addr -- )
begin, ( -- here )
again, ( back-addr -- )
until, ( back-addr cc -- )
On 20.8.2011 17:59, mik...@pp... wrote:
> I did no make any assembler for the dsPIC.
> You can write the assembly coded words into the FF source code in MPLAB.
> Or you can use AS, to store assembly hex codes into program memory.
>
> Cheers Mikael
>
>> ----Alkuperäinen viesti----
>> Lähettäjä: nic...@ve...
>> Päivämäärä: 19.8.2011 21:58
>> Vastaanottaja:<fla...@li...>
>> Aihe: [Flashforth-devel] FF4.7
>>
>> Hi
>>
>> I have Flash Forth 4.7 running on a dsPIC33FJ128GP802 board. I would like
> to make use of the assembler words.
>
>> I note there is no asm package available as there is in FF3.7. What is the
> status of the assembler addition to FF4.7?
>
>>
>
>> Nick
> Lordi------------------------------------------------------------------------------
>
>> Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
>
>> user administration capabilities and model configuration. Take
>
>> the hassle out of deploying and managing Subversion and the
>
>> tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2_______________________________________________
>
>
>> Flashforth-devel mailing list
>> Fla...@li...
>> https://lists.sourceforge.net/lists/listinfo/flashforth-devel
>
>>
>
>
>
> ------------------------------------------------------------------------------
> Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
> user administration capabilities and model configuration. Take
> the hassle out of deploying and managing Subversion and the
> tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
> _______________________________________________
> Flashforth-devel mailing list
> Fla...@li...
> https://lists.sourceforge.net/lists/listinfo/flashforth-devel
>
|