rsc | a84cbb2 | 2004-04-19 19:29:25 +0000 | [diff] [blame] | 1 | OpAddr = 0x03, // 1 op, const addr |
| 2 | OpDeref = 0x06, |
| 3 | OpConst1u = 0x08, // 1 op, 1 byte const |
| 4 | OpConst1s = 0x09, // " signed |
| 5 | OpConst2u = 0x0A // 1 op, 2 byte const |
| 6 | OpConst2s = 0x0B, // " signed |
| 7 | OpConst4u = 0x0C, // 1 op, 4 byte const |
| 8 | OpConst4s = 0x0D, // " signed |
| 9 | OpConst8u = 0x0E, // 1 op, 8 byte const |
| 10 | OpConst8s = 0x0F, // " signed |
| 11 | OpConstu = 0x10, // 1 op, LEB128 const |
| 12 | OpConsts = 0x11, // " signed |
| 13 | OpDup = 0x12, |
| 14 | OpDrop = 0x13, |
| 15 | OpOver = 0x14, |
| 16 | OpPick = 0x15, // 1 op, 1 byte stack index |
| 17 | OpSwap = 0x16, |
| 18 | OpRot = 0x17, |
| 19 | OpXderef = 0x18, |
| 20 | OpAbs = 0x19, |
| 21 | OpAnd = 0x1A, |
| 22 | OpDiv = 0x1B, |
| 23 | OpMinus = 0x1C, |
| 24 | OpMod = 0x1D, |
| 25 | OpMul = 0x1E, |
| 26 | OpNeg = 0x1F, |
| 27 | OpNot = 0x20, |
| 28 | OpOr = 0x21, |
| 29 | OpPlus = 0x22, |
| 30 | OpPlusUconst = 0x23, // 1 op, ULEB128 addend |
| 31 | OpShl = 0x24, |
| 32 | OpShr = 0x25, |
| 33 | OpShra = 0x26, |
| 34 | OpXor = 0x27, |
| 35 | OpSkip = 0x2F, // 1 op, signed 2-byte constant |
| 36 | OpBra = 0x28, // 1 op, signed 2-byte constant |
| 37 | OpEq = 0x29, |
| 38 | OpGe = 0x2A, |
| 39 | OpGt = 0x2B, |
| 40 | OpLe = 0x2C, |
| 41 | OpLt = 0x2D, |
| 42 | OpNe = 0x2E, |
| 43 | OpLit0 = 0x30, |
| 44 | // OpLitN = OpLit0 + N for N = 0..31 |
| 45 | OpReg0 = 0x50, |
| 46 | // OpRegN = OpReg0 + N for N = 0..31 |
| 47 | OpBreg0 = 0x70, // 1 op, signed LEB128 constant |
| 48 | // OpBregN = OpBreg0 + N for N = 0..31 |
| 49 | OpRegx = 0x90, // 1 op, ULEB128 register |
| 50 | OpFbreg = 0x91, // 1 op, SLEB128 offset |
| 51 | OpBregx = 0x92, // 2 op, ULEB128 reg, SLEB128 off |
| 52 | OpPiece = 0x93, // 1 op, ULEB128 size of piece |
| 53 | OpDerefSize = 0x94, // 1-byte size of data retrieved |
| 54 | OpXderefSize = 0x95, // 1-byte size of data retrieved |
| 55 | OpNop = 0x96, |
| 56 | // next four new in Dwarf v3 |
| 57 | OpPushObjAddr = 0x97, |
| 58 | OpCall2 = 0x98, // 2-byte offset of DIE |
| 59 | OpCall4 = 0x99, // 4-byte offset of DIE |
| 60 | OpCallRef = 0x9A, // 4- or 8- byte offset of DIE |
| 61 | // 0xE0-0xFF reserved for user-specific |
| 62 | |