Demonstration Compiler Limitations

Number of Program Lines

The microEngineering Labs demonstration compiler is limited to 31 lines of code. However, you can have an unlimited number of variables and aliases declared. For example,

MyValue VAR BYTE
AnotherValue VAR MyValue

will not add to your program line count. All other declarations will count as one line. For example,

DEFINE OSC 20 ' counted as one line
SYMBOL = 10
' counted as one line
MyConst CON 10
' counted as one line

Multiline statements are allowed, but each statement will be counted as a line. For example,

A = 10 : B = 3 : C = 10

will count as three lines.

Supported Devices

The demonstration compiler supports the following PIC devices:

16F84(A), 16F627(A), 16F628(A), 16F870, 16F871, 16F872, 16F873(A), 16F874(A), 16F876(A) and 16F877(A).

If you select any other device, the compiler will default to the 16F877.

Include Files

You cannot use include files with the demonstration compiler. For example,

INCLUDE "MyFile.bas"

is not allowed.