Presets CPU Disassembler so that it displays code at address asmaddr. If selsize is greater than 1, selects selsize bytes, otherwise 1 assembler command. Then it creates CPU window (if absent), restores and moves window to the top.
void Setdisasm(ulong asmaddr,ulong selsize,int mode);
Parameters:
asmaddr - address to display in Disassembler, or 0 if this address remains unchanged. Ignored if threadid is not 0;
selsize - if greater than 1, size of selection in bytes, otherwise Setdisasm selects 1 command;
mode - combination of CPU_xxx flags that select update mode:
CPU_ASMHIST | Add change to Disassembler history |
CPU_ASMCENTER | Position address in the middle of Disassembler window |
CPU_ASMFOCUS | Move focus to Disassembler |
CPU_REGAUTO | Automatically change Registers mode to FPU/MMX/3DNow! |
See also: Setcpu, Redrawdisassembler, Getcputhreadid