MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / decode

Method decode

source/emulation/cpu/decoder.cpp:3600–3612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3598 this->imm = imm;
3599 }
3600 void decode(DecodeData* data, DecodedOp* op) const override {
3601 U8 rm = data->fetch8();
3602
3603 op->reg = G(rm);
3604 if (rm>=0xC0) {
3605 op->inst = this->reg;
3606 op->rm = E(rm);
3607 } else {
3608 op->inst = this->mem;
3609 decodeEa(data, op, rm);
3610 }
3611 op->imm = this->imm;
3612 }
3613
3614private:
3615 U32 imm;

Callers

nothing calls this directly

Calls 2

decodeEaFunction · 0.85
fetch8Method · 0.80

Tested by

no test coverage detected