'Interpreters and other Q's'
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.
>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.
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.
Dr. Imre Bartfai
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.
On Tue, 13 Apr 1999, Gerhard Fiedler wrote:
|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
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!
More... (looser matching)
- Last day of these posts
- In 1999
, 2000 only
- New search...