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

Function gen2a1

source/emulation/cpu/srcgen.cpp:2139–2148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2137}
2138
2139void gen2a1(struct GenData* data, struct Op* op) {
2140 char tmp[16];
2141
2142 out(data, "EAX = readd(cpu->thread, cpu->segAddress[");
2143 out(data, getBase(op->base));
2144 out(data, "] + 0x");
2145 itoa(op->data1, tmp, 16);
2146 out(data, tmp);
2147 out(data, "); CYCLES(1);");
2148}
2149
2150void gen0a2(struct GenData* data, struct Op* op) {
2151 char tmp[16];

Callers

nothing calls this directly

Calls 2

getBaseFunction · 0.85
outFunction · 0.70

Tested by

no test coverage detected