one_byte_opcodes.isa (4323:13ca4002d2ac) | one_byte_opcodes.isa (4336:bd6ab22f8e11) |
---|---|
1// Copyright (c) 2007 The Hewlett-Packard Development Company 2// All rights reserved. 3// 4// Redistribution and use of this software in source and binary forms, 5// with or without modification, are permitted provided that the 6// following conditions are met: 7// 8// The software must be used only for Non-Commercial Use which means any --- 47 unchanged lines hidden (view full) --- 56//////////////////////////////////////////////////////////////////// 57// 58// Decode the one byte opcodes 59// 60 610x1: decode OPCODE_OP_TOP5 { 62 format WarnUnimpl { 63 0x00: decode OPCODE_OP_BOTTOM3 { | 1// Copyright (c) 2007 The Hewlett-Packard Development Company 2// All rights reserved. 3// 4// Redistribution and use of this software in source and binary forms, 5// with or without modification, are permitted provided that the 6// following conditions are met: 7// 8// The software must be used only for Non-Commercial Use which means any --- 47 unchanged lines hidden (view full) --- 56//////////////////////////////////////////////////////////////////// 57// 58// Decode the one byte opcodes 59// 60 610x1: decode OPCODE_OP_TOP5 { 62 format WarnUnimpl { 63 0x00: decode OPCODE_OP_BOTTOM3 { |
64 0x4: TaggedOp::add({{AddI %0 %0}}, [rAl]); 65 0x5: TaggedOp::add({{AddI %0 %0}}, [rAx]); | 64 0x4: Inst::addI(rAl,Ib); 65 0x5: Inst::addI(rAx,Iz); |
66 0x6: push_ES(); 67 0x7: pop_ES(); | 66 0x6: push_ES(); 67 0x7: pop_ES(); |
68 default: MultiOp::add( 69 {{Add %0 %0 %1}}, 70 OPCODE_OP_BOTTOM3, 71 [[Eb,Gb],[Ev,Gv], 72 [Gb,Eb],[Gv,Ev]]); | 68 default: MultiInst::add(OPCODE_OP_BOTTOM3, 69 [Eb,Gb],[Ev,Gv],[Gb,Eb],[Gv,Ev]); |
73 } 74 0x01: decode OPCODE_OP_BOTTOM3 { 75 0x0: or_Eb_Gb(); 76 0x1: or_Ev_Gv(); 77 0x2: or_Gb_Eb(); 78 0x3: or_Gv_Ev(); 79 0x4: or_Al_Ib(); 80 0x5: or_rAX_Iz(); --- 40 unchanged lines hidden (view full) --- 121 0x3: sub_Gv_Ev(); 122 0x4: sub_Al_Ib(); 123 0x5: sub_rAX_Iz(); 124 0x6: M5InternalError::error( 125 {{"Tried to execute the CS segment override prefix!"}}); 126 0x7: das(); 127 } 128 0x06: decode OPCODE_OP_BOTTOM3 { | 70 } 71 0x01: decode OPCODE_OP_BOTTOM3 { 72 0x0: or_Eb_Gb(); 73 0x1: or_Ev_Gv(); 74 0x2: or_Gb_Eb(); 75 0x3: or_Gv_Ev(); 76 0x4: or_Al_Ib(); 77 0x5: or_rAX_Iz(); --- 40 unchanged lines hidden (view full) --- 118 0x3: sub_Gv_Ev(); 119 0x4: sub_Al_Ib(); 120 0x5: sub_rAX_Iz(); 121 0x6: M5InternalError::error( 122 {{"Tried to execute the CS segment override prefix!"}}); 123 0x7: das(); 124 } 125 0x06: decode OPCODE_OP_BOTTOM3 { |
129 0x4: TaggedOp::xor({{XorI %0 %0}}, [rAl]); 130 0x5: TaggedOp::xor({{XorI %0 %0}}, [rAx]); | 126 0x4: Inst::xorI(rAl,Ib); 127 0x5: Inst::xorI(rAx,Iz); |
131 0x6: M5InternalError::error( 132 {{"Tried to execute the SS segment override prefix!"}}); 133 0x7: aaa(); | 128 0x6: M5InternalError::error( 129 {{"Tried to execute the SS segment override prefix!"}}); 130 0x7: aaa(); |
134 default: MultiOp::xor( 135 {{Xor %0 %0 %1}}, 136 OPCODE_OP_BOTTOM3, 137 [[Eb,Gb],[Ev,Gv], 138 [Gb,Eb],[Gv,Ev]]); | 131 default: MultiInst::xor(OPCODE_OP_BOTTOM3, 132 [Eb,Gb],[Ev,Gv],[Gb,Eb],[Gv,Ev]); |
139 } 140 0x07: decode OPCODE_OP_BOTTOM3 { 141 0x0: cmp_Eb_Gb(); 142 0x1: cmp_Ev_Gv(); 143 0x2: cmp_Gb_Eb(); 144 0x3: cmp_Gv_Ev(); 145 0x4: cmp_Al_Ib(); 146 0x5: cmp_rAX_Iz(); --- 254 unchanged lines hidden --- | 133 } 134 0x07: decode OPCODE_OP_BOTTOM3 { 135 0x0: cmp_Eb_Gb(); 136 0x1: cmp_Ev_Gv(); 137 0x2: cmp_Gb_Eb(); 138 0x3: cmp_Gv_Ev(); 139 0x4: cmp_Al_Ib(); 140 0x5: cmp_rAX_Iz(); --- 254 unchanged lines hidden --- |