Content Inside :
PIC is the name of a single-chip microcontroller designed and fabricated by Microchip Inc. It features an ALU with basic operations for arithmetic, a 128 byte data memory, a 2048 word program memory, and 2 I/O ports (PIC 16C84). Here we present a programming language that is tailored to the PIC’s size and architecture. Symbols, Identifiers, Numbers and Comments A program in the language PICL is a text to be considered as a sequence of symbols, identifier, and numbers. Blanks and line breaks are irrelevant. Identifiers are sequences of letters and digits. Data Types and Variable Declarations There are three data types in PICL, and every variable is of a specific data type. Examples of declarations of variables are INT x, y BOOL b SET u, v The type INT denotes (unsigned) integers in the range 0 to 255. The type BOOL denotes truth values. Boolean variables are also called flags. The type SET denotes a set of 8 truths values, numbered with an index in the range of 0 to 7. Conditions A condition represents a computed truth value. It consists of either a conjunction or a disjunction of terms, and a term is either a Boolean variable or its negation, or a comparison.
An asterisk stands for True. Statements denote actions, and are said to be executed. There are simple statements and composite statements. The latter consist of components which are statements themselves. Simple statements are assignments, procedure calls, and commands operating on a variable. Assignments consist of an expression and a variable.

Tags : pic programming language, unsigned integers, type bool, variable declarations, boolean variables, program memory, truth values, word program, truth value, byte data, true statements, disjunction, language content, microcontroller, type int
If you see unrelated pdf files with the description or copyrighted material published, please report to us, we'll correct/delete it it as soon as possible.NONE OF THOSE MATERIALS ARE HOSTED IN THIS SERVER NOR UPLOADED BY ME IN SOMEONE'S SERVERS.  Read our DISCLAIMER for more detail.
We are neither affiliated with authors and brands nor responsible for its content and change of content.
Information contained herein is provided "as is" without warranty of any kind, either expressed or implied, including any warranty of merchantability or fitness for a particular purpose. In no event shall ANYONE be held liable for any loss of profit, special, incidental, consequential, or other similar claims.
December 20th, 2008 at 9:13 pm
thanx for your work..keep it up