Christian Stewart
Christian Stewart

Reputation: 15519

AsmJit equivalent of mov eax,[ecx+0CC]

What is the asmjit equivalent of mov eax,[ecx+0CC]?

This is close: c.mov_ptr(x86::eax, x86::ptr(x86::ecx, 0x0CC)); but the arguments are wrong.

Any ideas?

Upvotes: 2

Views: 432

Answers (1)

Christian Stewart
Christian Stewart

Reputation: 15519

The answer is:

a.mov(x86::eax, x86::ptr(x86::ecx, 0x0CC));

Upvotes: 1

Related Questions