ArticleslgStudy

computer science

Pic Micro Pascal

Pic Micro Pascal is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Pic Micro Pascal rather than just read about it. In short: Pic Micro Pascal a.k.a. PMP is a free Pascal cross compiler for PIC microcontrollers.

Key takeaways

  • Pic Micro Pascal belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Pic Micro Pascal to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Pic Micro Pascal from memory before moving on to harder problems.

Reference excerpt

Pic Micro Pascal a.k.a. PMP is a free Pascal cross compiler for PIC microcontrollers. It is intended to work with the Microchip Technology MPLAB suite installed; it has its own IDE (Scintilla-based) and it is a highly optimized compiler. It is intended to target 8-bit processors only: PIC10, PIC12, PIC16, PIC16 enhanced, PIC18. The main axis of development was to avoid special built-in functions and procedures to interface hardware registers. These registers are accessed directly as variables, there are no wrapper functions, and emitted code is quite compact. PMP does not include an assembler or linker. It is designed to work with the Microchip MPLAB suite installed, and directly uses MPASM and MPLINK .lkr files for memory mapping initializations; as of V2 it comes with its own database for processor features and standard register definitions. PMP also supports the GPUTILS suite.

Language features PMP does not support object-oriented programming, but a RECORD can have methods. As of 2014, the implementation supports multiple file compiling, by include directives and by a per unit concept. PMP supports a unique feature: variables may be declared in EEPROM and then used transparently as any other variable (with some limitations). PMP's data types:

simple records (subset): RECORD bit booleans: BOOLEAN unsigned and signed 8-bit integer types: CHAR, BYTE, SHORTINT unsigned and signed 16-bit integer types: WORD, INTEGER unsigned and signed 32-bit integer types: LONGWORD, LONGINT enumerations arrays (one dimension): ARRAY strings (variable length): STRING pointers (subset) floating point variables and operations (PIC16 and PIC18 only): two FP formats, one 48-bit internal (REAL) and a subset of the IEEE 32 bits format (SINGLE); both formats do not handle infinite and NaN

Language dialect PMP syntax is very close to the non-OOP syntax of Turbo Pascal or Delphi, with some extensions to support some target processor features (bit manipulations ...).

Since version 1.6, some language "extensions" may be used (with explicit activation), most of them coming from other Pascal-Like languages such as Oberon or Modula:

History PMP was created in 2006 by Philippe Paternotte and released as freeware for now, as free software in the future. The latest version is 2.0.6, September 2014. PMP has been the subject of an article in SERVO Magazine in March 2015.

References

External links Official website Official forum French Developpez' site page about PMP PMP V2 pre-announcement (2013) Archived 2016-03-24 at the Wayback Machine The PMP V2 announcement on Morisca site (2014) Archived 2016-03-04 at the Wayback Machine

Worked examples

Example 1 — a first encounter with Pic Micro Pascal

Start with the simplest possible case. Write down what Pic Micro Pascal claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Pic Micro Pascal before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Pic Micro Pascal ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Pic Micro Pascal

In research
Pic Micro Pascal appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Pic Micro Pascal in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Pic Micro Pascal is common in secondary-school and first-year university syllabi. It links to neighbouring topics 2006 software, Cross-compilers, Pascal (programming language) compilers, so understanding it makes those chapters shorter.
In everyday life
Look for Pic Micro Pascal outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Pic Micro Pascal” →

How to study Pic Micro Pascal in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Pic Micro Pascal means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Pic Micro Pascal out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Pic Micro Pascal in simple terms?

Pic Micro Pascal a.k.a. PMP is a free Pascal cross compiler for PIC microcontrollers.

Why does Pic Micro Pascal matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Pic Micro Pascal?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Pic Micro Pascal.

Tags

  • 2006 software
  • Cross-compilers
  • Pascal (programming language) compilers
  • Pascal programming language family
  • Procedural programming languages

Keep exploring