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

Method decode

source/emulation/cpu/decoder.cpp:3893–3903  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3891 this->reg = reg;
3892 }
3893 void decode(DecodeData* data, DecodedOp* op) const override {
3894 op->inst = reg;
3895 op->base = data->ds;
3896 op->rm=regZero;
3897 op->sibIndex=regZero;
3898 if (data->ea16) {
3899 op->data.disp = data->fetch16();
3900 } else {
3901 op->data.disp = data->fetch32();
3902 }
3903 }
3904
3905private:
3906 Instruction reg;

Callers

nothing calls this directly

Calls 2

fetch16Method · 0.80
fetch32Method · 0.80

Tested by

no test coverage detected