asm_dip/toolchain/fasmg.kl0e/examples/x86/include/ext/rdseed.inc

11 lines
207 B
PHP
Raw Normal View History

2024-11-24 20:13:28 -08:00
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