Common.inc

This file defines the structures, constants, and macros common to any sections of PwnOS.

Authors

  • Neil G.  Dickson
Summary
Common.incThis file defines the structures, constants, and macros common to any sections of PwnOS.
Macros
Instruction MacrosEach one defines an instruction that MASM doesn’t assemble properly.
Constants
Memory Function Constants

Macros

Instruction Macros

Each one defines an instruction that MASM doesn’t assemble properly.

movoffeax(address)mov [address],eax
movoffebx(address)mov [address],ebx
movboffimm(address,immediate)mov byte ptr [address],immediate
movoffimm(address,immediate)mov dword ptr [address],immediate
moveaxoff(address)mov eax,[address]
movaxoff(address)mov ax,[address]
movecxoff(address)mov ecx,[address]
movedxoff(address)mov edx,[address]
movcxoff(address)mov cx,[address]

Constants

Memory Function Constants