2 calminstruction element? definition
\r
4 match =tr? any, definition
\r
6 arrange definition, =element? definition
\r
15 iterate <instr,opcode>, wrmsr,<0Fh,30h>, rdtsc,<0Fh,31h>, rdmsr,<0Fh,32h>, rdpmc,<0Fh,33h>, cpuid,<0Fh,0A2h>, rsm,<0Fh,0AAh>
\r
17 define x86.instr? db opcode
\r
19 calminstruction instr?
\r
25 calminstruction cmpxchg8b? dest*
\r
26 asmcmd =x86.=parse_operand =@dest,dest
\r
27 check @dest.type = 'mem'
\r
29 asmcmd =err 'invalid operand'
\r
32 check @dest.size and not 8
\r
34 asmcmd =err 'invalid operand size'
\r
36 asmcmd =x86.=store_instruction <0Fh,0C7h>,=@dest,1
\r