Specifications

Chapter 1 - Introduction to Microprocessors
Microcontroller outline with its basic elements and internal connections
For a real application, a microcontroller alone is not enough. Beside a microcontroller, we need
a program that would be executed, and a few more elements which make up a interface logic
towards the elements of regulation (which will be discussed in later chapters).
1.9 Program
Program writing is a special field of work with microcontrollers and is called "programming". Try
to write a small program in a language that we will make up ourselves first and then would be
understood by anyone.
START
REGISTER1=MEMORY LOCATION_A
REGISTER2=MEMORY LOCATION_B
PORTA=REGISTER1 + REGISTER2
END
http://www.mikroelektronika.co.yu/english/product/books/PICbook/1_Poglavlje.htm (8 of 9) [4/2/2003 16:17:33]