LMS 2012
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
p1.c
Go to the documentation of this file.
1 //****************************************************************************
2 // Disassembler Listing
3 //****************************************************************************
4 
5 UBYTE prg[] =
6 {
7  /* 0 */ PROGRAMHeader(0.46,2,8),
8  /* 16 */ VMTHREADHeader(40,5), // Object 1
9  /* 28 */ BLOCKHeader(65,1,1), // Object 2
10 
11  /* Object 1 (VMTHREAD) [40..65] */
12 
13  /* 40 */ opMOVE32_32,LC0(0),LV0(0),
14  /* 43 */ opCP_EQ32,LC4(100000),LV0(0),LV0(4),
15  /* 51 */ opOBJECT_TRIG,LC0(2),
16  /* 53 */ opOBJECT_WAIT,LC0(2),
17  /* 55 */ opJR_TRUE,LV0(4),LC0(6),
18  /* 58 */ opADD32,LV0(0),LC0(1),LV0(0),
19  /* 62 */ opJR,LC0(-21),
20  /* 64 */ opOBJECT_END,
21 
22  /* Object 2 (BLOCK) [65..67] */
23 
24  /* 65 */ opNOP,
25  /* 66 */ opOBJECT_END,
26 };
27 
28 //****************************************************************************
29 
#define BLOCKHeader(OffsetToInstructions, OwnerObjectId, TriggerCount)
Definition: bytecodes.h:1579
#define LC4(v)
Definition: bytecodes.h:1618
#define VMTHREADHeader(OffsetToInstructions, LocalBytes)
Definition: bytecodes.h:1573
#define PROGRAMHeader(VersionInfo, NumberOfObjects, GlobalBytes)
Definition: bytecodes.h:1570
#define LC0(v)
Definition: bytecodes.h:1615
#define LV0(i)
Definition: bytecodes.h:1621
unsigned char UBYTE
Basic Type used to symbolise 8 bit unsigned values.
Definition: lmstypes.h:29
UBYTE prg[]
Definition: p1.c:5