NASM - The Netwide Assembler

NASM Forum => Example Code => Topic started by: Gerhard on February 23, 2013, 09:39:08 PM

Title: Instruction Set detection for 64 bit Operating Systems
Post by: Gerhard on February 23, 2013, 09:39:08 PM
The archive iset.zip contains an assembly language procedure for detecting the available instruction sets. There are 2 sub-folders - one for Windows the other for Linux. An appropriate test program is included, too. The procedure detrects the instruction sets up to AVX2 properly.

The source is included and well commented. Comments and proposal for improvements are welcome.

Gerhard