11 lines
207 B
PHP
11 lines
207 B
PHP
|
|
macro rdseed? dest*
|
|
x86.parse_operand@dest dest
|
|
if @dest.type = 'reg'
|
|
x86.select_operand_prefix@dest @dest.size
|
|
x86.store_instruction@dest <0Fh,0C7h>,7
|
|
else
|
|
err 'invalid operand'
|
|
end if
|
|
end macro
|