Home | History | Annotate | Download | only in EbcDxe

Lines Matching defs:Opcode

1277   { ExecuteBREAK },             // opcode 0x00

1278 { ExecuteJMP }, // opcode 0x01
1279 { ExecuteJMP8 }, // opcode 0x02
1280 { ExecuteCALL }, // opcode 0x03
1281 { ExecuteRET }, // opcode 0x04
1282 { ExecuteCMP }, // opcode 0x05 CMPeq
1283 { ExecuteCMP }, // opcode 0x06 CMPlte
1284 { ExecuteCMP }, // opcode 0x07 CMPgte
1285 { ExecuteCMP }, // opcode 0x08 CMPulte
1286 { ExecuteCMP }, // opcode 0x09 CMPugte
1287 { ExecuteUnsignedDataManip }, // opcode 0x0A NOT
1288 { ExecuteSignedDataManip }, // opcode 0x0B NEG
1289 { ExecuteSignedDataManip }, // opcode 0x0C ADD
1290 { ExecuteSignedDataManip }, // opcode 0x0D SUB
1291 { ExecuteSignedDataManip }, // opcode 0x0E MUL
1292 { ExecuteUnsignedDataManip }, // opcode 0x0F MULU
1293 { ExecuteSignedDataManip }, // opcode 0x10 DIV
1294 { ExecuteUnsignedDataManip }, // opcode 0x11 DIVU
1295 { ExecuteSignedDataManip }, // opcode 0x12 MOD
1296 { ExecuteUnsignedDataManip }, // opcode 0x13 MODU
1297 { ExecuteUnsignedDataManip }, // opcode 0x14 AND
1298 { ExecuteUnsignedDataManip }, // opcode 0x15 OR
1299 { ExecuteUnsignedDataManip }, // opcode 0x16 XOR
1300 { ExecuteUnsignedDataManip }, // opcode 0x17 SHL
1301 { ExecuteUnsignedDataManip }, // opcode 0x18 SHR
1302 opcode 0x19 ASHR
1303 { ExecuteUnsignedDataManip }, // opcode 0x1A EXTNDB
1304 { ExecuteUnsignedDataManip }, // opcode 0x1B EXTNDW
1305 { ExecuteUnsignedDataManip }, // opcode 0x1C EXTNDD
1306 { ExecuteMOVxx }, // opcode 0x1D MOVBW
1307 { ExecuteMOVxx }, // opcode 0x1E MOVWW
1308 { ExecuteMOVxx }, // opcode 0x1F MOVDW
1309 { ExecuteMOVxx }, // opcode 0x20 MOVQW
1310 { ExecuteMOVxx }, // opcode 0x21 MOVBD
1311 { ExecuteMOVxx }, // opcode 0x22 MOVWD
1312 { ExecuteMOVxx }, // opcode 0x23 MOVDD
1313 { ExecuteMOVxx }, // opcode 0x24 MOVQD
1314 { ExecuteMOVsnw }, // opcode 0x25 MOVsnw
1315 { ExecuteMOVsnd }, // opcode 0x26 MOVsnd
1316 { NULL }, // opcode 0x27
1317 { ExecuteMOVxx }, // opcode 0x28 MOVqq
1318 { ExecuteLOADSP }, // opcode 0x29 LOADSP SP1, R2
1319 { ExecuteSTORESP }, // opcode 0x2A STORESP R1, SP2
1320 { ExecutePUSH }, // opcode 0x2B PUSH {@}R1 [imm16]
1321 { ExecutePOP }, // opcode 0x2C POP {@}R1 [imm16]
1322 { ExecuteCMPI }, // opcode 0x2D CMPIEQ
1323 { ExecuteCMPI }, // opcode 0x2E CMPILTE
1324 { ExecuteCMPI }, // opcode 0x2F CMPIGTE
1325 { ExecuteCMPI }, // opcode 0x30 CMPIULTE
1326 { ExecuteCMPI }, // opcode 0x31 CMPIUGTE
1327 { ExecuteMOVxx }, // opcode 0x32 MOVN
1328 { ExecuteMOVxx }, // opcode 0x33 MOVND
1329 { NULL }, // opcode 0x34
1330 { ExecutePUSHn }, // opcode 0x35
1331 { ExecutePOPn }, // opcode 0x36
1332 { ExecuteMOVI }, // opcode 0x37 - mov immediate data
1333 { ExecuteMOVIn }, // opcode 0x38 - mov immediate natural
1334 { ExecuteMOVREL }, // opcode 0x39 - move data relative to PC
1335 { NULL }, // opcode 0x3a
1336 { NULL }, // opcode 0x3b
1337 { NULL }, // opcode 0x3c
1338 { NULL }, // opcode 0x3d
1339 { NULL }, // opcode 0x3e
1340 { NULL } // opcode 0x3f
1344 // Length of JMP instructions, depending on upper two bits of opcode.
1387 // Index into the opcode table using the opcode byte for this instruction.
1483 // Use the opcode bits to index into the opcode dispatch table. If the
1560 UINT8 Opcode;
1573 Opcode = GETOPCODE (VmPtr);
1574 OpcMasked = (UINT8) (Opcode & OPCODE_M_OPCODE);
1590 // is 2 (opcode + operands). Add to this size each index specified.
1593 if ((Opcode & (OPCODE_M_IMMED_OP1 | OPCODE_M_IMMED_OP2)) != 0) {
1595 // Determine size of the index from the opcode. Then get it.
1602 if ((Opcode & OPCODE_M_IMMED_OP1) != 0) {
1608 if ((Opcode & OPCODE_M_IMMED_OP2) != 0) {
1617 if ((Opcode & OPCODE_M_IMMED_OP1) != 0) {
1623 if ((Opcode & OPCODE_M_IMMED_OP2) != 0) {
1632 if ((Opcode & OPCODE_M_IMMED_OP1) != 0) {
1637 if ((Opcode & OPCODE_M_IMMED_OP2) != 0) {
1674 // We were dispatched to this function and we don't recognize the opcode
1727 if ((Opcode & OPCODE_M_IMMED_OP2) != 0) {
1794 if ((Opcode & OPCODE_M_IMMED_OP1) != 0) {
1959 UINT8 Opcode;
1969 Opcode = GETOPCODE (VmPtr);
1972 // Get instruction length from the opcode. The upper two bits are used here
1975 Size = mJMPLen[(Opcode >> 6) & 0x03];
1995 if ((Opcode & OPCODE_M_IMMDATA64) != 0) {
2000 if ((Opcode & OPCODE_M_IMMDATA) == 0) {
2043 if ((Opcode & OPCODE_M_IMMDATA) != 0) {
2131 UINT8 Opcode;
2139 Opcode = GETOPCODE (VmPtr);
2140 CompareSet = (UINT8) (((Opcode & JMP_M_CS) != 0) ? 1 : 0);
2146 if ((Opcode & CONDITION_M_CONDITIONAL) != 0) {
2195 UINT8 Opcode;
2204 // Get the opcode and operands byte so we can get R1 and R2
2206 Opcode = GETOPCODE (VmPtr);
2222 if ((Opcode & MOVI_M_DATAWIDTH) == MOVI_DATAWIDTH16) {
2225 } else if ((Opcode & MOVI_M_DATAWIDTH) == MOVI_DATAWIDTH32) {
2228 } else if ((Opcode & MOVI_M_DATAWIDTH) == MOVI_DATAWIDTH64) {
2313 UINT8 Opcode;
2323 // Get the opcode and operands byte so we can get R1 and R2
2325 Opcode = GETOPCODE (VmPtr);
2341 if ((Opcode & MOVI_M_DATAWIDTH) == MOVI_DATAWIDTH16) {
2345 } else if ((Opcode & MOVI_M_DATAWIDTH) == MOVI_DATAWIDTH32) {
2349 } else if ((Opcode & MOVI_M_DATAWIDTH) == MOVI_DATAWIDTH64) {
2415 UINT8 Opcode;
2424 // Get the opcode and operands byte so we can get R1 and R2
2426 Opcode = GETOPCODE (VmPtr);
2442 if ((Opcode & MOVI_M_DATAWIDTH) == MOVI_DATAWIDTH16) {
2445 } else if ((Opcode & MOVI_M_DATAWIDTH) == MOVI_DATAWIDTH32) {
2448 } else if ((Opcode & MOVI_M_DATAWIDTH) == MOVI_DATAWIDTH64) {
2521 UINT8 Opcode;
2529 // Get the opcode and operand bytes
2531 Opcode = GETOPCODE (VmPtr);
2540 if ((Opcode & OPCODE_M_IMMED_OP1) !=0) {
2558 if ((Opcode & OPCODE_M_IMMED_OP2) != 0) {
2614 UINT8 Opcode;
2622 // Get the opcode and operand bytes
2624 Opcode = GETOPCODE (VmPtr);
2633 if ((Opcode & OPCODE_M_IMMED_OP1) != 0) {
2651 if ((Opcode & OPCODE_M_IMMED_OP2) != 0) {
2699 UINT8 Opcode;
2705 // Get opcode and operands
2707 Opcode = GETOPCODE (VmPtr);
2713 if ((Opcode & PUSHPOP_M_IMMDATA) != 0) {
2758 UINT8 Opcode;
2765 // Get opcode and operands
2767 Opcode = GETOPCODE (VmPtr);
2772 if ((Opcode & PUSHPOP_M_IMMDATA) != 0) {
2787 if ((Opcode & PUSHPOP_M_64) != 0) {
2834 UINT8 Opcode;
2840 // Get opcode and operands
2842 Opcode = GETOPCODE (VmPtr);
2847 if ((Opcode & PUSHPOP_M_IMMDATA) != 0) {
2893 UINT8 Opcode;
2900 // Get opcode and operands
2902 Opcode = GETOPCODE (VmPtr);
2907 if ((Opcode & PUSHPOP_M_IMMDATA) != 0) {
2922 if ((Opcode & PUSHPOP_M_64) != 0) {
2977 UINT8 Opcode;
2985 // Get opcode and operands
2987 Opcode = GETOPCODE (VmPtr);
3006 if ((Opcode & OPCODE_M_IMMDATA) != 0) {
3007 if ((Opcode & OPCODE_M_IMMDATA64) != 0) {
3039 if ((Opcode & OPCODE_M_IMMDATA64) != 0) {
3177 UINT8 Opcode;
3186 // Get opcode and operands
3188 Opcode = GETOPCODE (VmPtr);
3197 if ((Opcode & OPCODE_M_IMMDATA) != 0) {
3213 if ((Opcode & OPCODE_M_64BIT) != 0) {
3228 if ((Opcode & OPCODE_M_64BIT) != 0) {
3232 switch (Opcode & OPCODE_M_OPCODE) {
3270 switch (Opcode & OPCODE_M_OPCODE) {
3338 UINT8 Opcode;
3347 // Get opcode and operands
3349 Opcode = GETOPCODE (VmPtr);
3370 if ((Opcode & OPCODE_M_CMPI64) != 0) {
3393 if ((Opcode & OPCODE_M_CMPI32_DATA) != 0) {
3407 if ((Opcode & OPCODE_M_CMPI64) != 0) {
3411 switch (Opcode & OPCODE_M_OPCODE) {
3449 switch (Opcode & OPCODE_M_OPCODE) {
4168 UINT8 Opcode;
4177 // Get opcode and operands
4179 Opcode = GETOPCODE (VmPtr);
4183 // Determine if we have immediate data by the opcode
4185 if ((Opcode & DATAMANIP_M_IMMDATA) != 0) {
4208 if ((Opcode & DATAMANIP_M_64) != 0) {
4221 if ((Opcode & DATAMANIP_M_64) == 0) {
4235 if ((Opcode & DATAMANIP_M_64) != 0) {
4245 if ((Opcode & DATAMANIP_M_64) == 0) {
4256 DataManipDispatchTableIndex = (Opcode & OPCODE_M_OPCODE) - OPCODE_NOT;
4277 if ((Opcode & DATAMANIP_M_64) != 0) {
4288 if ((Opcode & DATAMANIP_M_64) == 0) {