LMS 2012
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
p2.c
Go to the documentation of this file.
1 UBYTE prg[] =
2 { // p2
3  // IMAGE header
4  PROGRAMHeader(0,1,0), // VersionInfo,NumberOfObjects,GlobalBytes
5  VMTHREADHeader(28,0), // OffsetToInstructions,LocalBytes
6  //
7  // VMTHREAD1
8  // {
9  opUI_WRITE,LC0(PUT_STRING),LCS, // UI_WRITE(STRING," Make 10 pulses\r\n")
10  ' ',' ',' ',' ', //
11  'M','a','k','e',' ','1','0',' ', //
12  'p','u','l','s','e','s', //
13  '\r','\n',0, //
14  //
15  opUI_FLUSH, // UI_FLUSH
16  opOUTPUT_SPEED,LC0(0),LC0(1),LC1(50), // OUTPUT_SPEED(0,1,50)
17  opOUTPUT_SPEED,LC0(0),LC0(1),LC0(0), // OUTPUT_SPEED(0,1,0)
18  opOUTPUT_SPEED,LC0(0),LC0(1),LC1(50), // OUTPUT_SPEED(0,1,50)
19  opOUTPUT_SPEED,LC0(0),LC0(1),LC0(0), // OUTPUT_SPEED(0,1,0)
20  opOUTPUT_SPEED,LC0(0),LC0(1),LC1(50), // OUTPUT_SPEED(0,1,50)
21  opOUTPUT_SPEED,LC0(0),LC0(1),LC0(0), // OUTPUT_SPEED(0,1,0)
22  opOUTPUT_SPEED,LC0(0),LC0(1),LC1(50), // OUTPUT_SPEED(0,1,50)
23  opOUTPUT_SPEED,LC0(0),LC0(1),LC0(0), // OUTPUT_SPEED(0,1,0)
24  opOUTPUT_SPEED,LC0(0),LC0(1),LC1(50), // OUTPUT_SPEED(0,1,50)
25  opOUTPUT_SPEED,LC0(0),LC0(1),LC0(0), // OUTPUT_SPEED(0,1,0)
26  opOUTPUT_SPEED,LC0(0),LC0(1),LC1(50), // OUTPUT_SPEED(0,1,50)
27  opOUTPUT_SPEED,LC0(0),LC0(1),LC0(0), // OUTPUT_SPEED(0,1,0)
28  opOUTPUT_SPEED,LC0(0),LC0(1),LC1(50), // OUTPUT_SPEED(0,1,50)
29  opOUTPUT_SPEED,LC0(0),LC0(1),LC0(0), // OUTPUT_SPEED(0,1,0)
30  opOUTPUT_SPEED,LC0(0),LC0(1),LC1(50), // OUTPUT_SPEED(0,1,50)
31  opOUTPUT_SPEED,LC0(0),LC0(1),LC0(0), // OUTPUT_SPEED(0,1,0)
32  opOUTPUT_SPEED,LC0(0),LC0(1),LC1(50), // OUTPUT_SPEED(0,1,50)
33  opOUTPUT_SPEED,LC0(0),LC0(1),LC0(0), // OUTPUT_SPEED(0,1,0)
34  opOUTPUT_SPEED,LC0(0),LC0(1),LC1(50), // OUTPUT_SPEED(0,1,50)
35  opOUTPUT_SPEED,LC0(0),LC0(1),LC0(0), // OUTPUT_SPEED(0,1,0)
36  opOBJECT_END // }
37 };
38 
#define LC1(v)
Definition: bytecodes.h:1616
#define VMTHREADHeader(OffsetToInstructions, LocalBytes)
Definition: bytecodes.h:1573
#define PROGRAMHeader(VersionInfo, NumberOfObjects, GlobalBytes)
Definition: bytecodes.h:1570
#define LCS
Definition: bytecodes.h:1611
#define LC0(v)
Definition: bytecodes.h:1615
unsigned char UBYTE
Basic Type used to symbolise 8 bit unsigned values.
Definition: lmstypes.h:29
UBYTE prg[]
Definition: p2.c:1