Searching \ for 'Interpreters and other Q's' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=interpreters+other
Search entire site for: 'Interpreters and other Q's'.

Truncated match.
PICList Thread
'Interpreters and other Q's'
1999\04\13@180531 by Des Bromilow

flavicon
face
Hi,
I've been hearing about how interpreters may be the solution to my design/prototyping requirements...
Where do you get them from?
If I can get an interpreter which will allow me to use serial EEPROM then I'm set.
What is the best (easy-ish language, I/O, Basic Maths) interpreter to get, and where from? Cost?

The other questions are probably fairly simple, but I need to ask......
I wish to be able to read in a 12bit ADC value...... And then use that value in maths (add, subraction , and multiplication) and for table value comparison.
How is this accomplished in a processor such as the PIC16F84 which is only 8 bit.... Looking at the spec sheet I see that it deals with 8 bits of data, and allows the remaining6 bits (of the 14 bit word) to be for the opcode. how do I accomplish my goal?

Many thanks, And please be patient with my possibly "silly Questions", But I f I don't ask... I'll probably go mad trying to figure it out.

Thanks,
Des

1999\04\13@184342 by Andy Kunz

flavicon
face
>Where do you get them from?

Search on http://www.yahoo.com and look for PIC & Basic and PIC & Forth.

>What is the best (easy-ish language, I/O, Basic Maths) interpreter to get,
>and where from? Cost?

What languages do you write?

>How is this accomplished in a processor such as the PIC16F84 which is only 8
>bit.... Looking at the spec sheet I see that it deals with 8 bits of data,
>and allows the remaining6 bits (of the 14 bit word) to be for the opcode.
>how do I accomplish my goal?

There is a "carry" bit which allows you to perform larger-than-8-bit maths
in several steps.

>Many thanks, And please be patient with my possibly "silly Questions", But I
>f I don't ask... I'll probably go mad trying to figure it out.

We were all newbies once.

Andy

1999\04\13@205616 by Gerhard Fiedler

picon face
At 18:40 04/13/99 -0400, Andy Kunz wrote:
>>Where do you get them from?
>
>Search on http://www.yahoo.com and look for PIC & Basic and PIC & Forth.

one of the list members has written his own language, i think it's called
"jal". if you don't find it, maybe he'll come to you... :) haven't worked
with it, but it looks nice.

ge

1999\04\14@041229 by Dr. Imre Bartfai

flavicon
face
Hi,
I think jal is a compiled language. Interpreted is the PicBASIC (which is
burnt into the basic stamp!!!) and the PB/4 which is a smallish
interpreter working on the DATA EEPROM of the 16x84. Dunfield
(http://www.dunfield.com) offers also a C-FLEA which is a virtual processor's
language which processor is also implemented on PIC I recall. A royalty is
to be paid, though.
Imre

On Tue, 13 Apr 1999, Gerhard Fiedler wrote:

{Quote hidden}

1999\04\15@045507 by paulb

flavicon
face
Gerhard Fiedler wrote:

> one of the list members has written his own language, I think it's
> called "jal".  If you don't find it, maybe he'll come to you... :)
> haven't worked with it, but it looks nice.

 Wouter van Oojen, at http://www.xs4all.nl/~wf/wouter/pic/jal/  Jal is
a compiler.

 But this wasn't in fact what was asked AFAIK.  The question was in
regard to interpretive languages running from external EEPROM.  The main
one of course is Stamp BASIC from Parallax.  A public-domain version of
this, or a FORTH has been much-proposed, but yet to surface.

 As for the other considerations, Des was a bit confused about the PIC
structure.  All data is handled as 8-bit in the *same* general fashion
as the 8080(, 6800, 6502 etc.) but with the idiosycracies of the General
Instruments (Microchip) register structure and instruction set.

 The *separate* program memory and bus (Harvard Architecture) may be
12 or 14-bit, but that is entirely immaterial to the data.  The fact
that the program bus is significantly wider than the data bus does
however allow 8-bit literals to be embedded within certain single
instructions which have no other arguments (all operate on the "W"
register, "Working" or accumulator).

 One, RETLW, happens to deposit an 8-bit literal in W as a side effect
of its ostensibly prime function as a return from subroutine, making its
*real* purpose a table read function!
--
 Cheers,
       Paul B.

More... (looser matching)
- Last day of these posts
- In 1999 , 2000 only
- Today
- New search...