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

Function gen0a1

source/emulation/cpu/srcgen.cpp:2128–2137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2126}
2127
2128void gen0a1(struct GenData* data, struct Op* op) {
2129 char tmp[16];
2130
2131 out(data, "AX = readw(cpu->thread, cpu->segAddress[");
2132 out(data, getBase(op->base));
2133 out(data, "] + 0x");
2134 itoa(op->data1, tmp, 16);
2135 out(data, tmp);
2136 out(data, "); CYCLES(1);");
2137}
2138
2139void gen2a1(struct GenData* data, struct Op* op) {
2140 char tmp[16];

Callers

nothing calls this directly

Calls 2

getBaseFunction · 0.85
outFunction · 0.70

Tested by

no test coverage detected