source-engine/external/crypto++-5.6.3/rdrand-nasm.sh
FluorescentCIAAfricanAmerican 3bf9df6b27 1
2020-04-22 12:56:21 -04:00

25 lines
560 B
Bash

#!/bin/sh
reset
nasm -f elf32 rdrand.S -DX86 -g -o rdrand-x86.o
nasm -f elfx32 rdrand.S -DX32 -g -o rdrand-x32.o
nasm -f elf64 rdrand.S -DX64 -g -o rdrand-x64.o
echo "**************************************"
echo "**************************************"
objdump --disassemble rdrand-x86.o
echo
echo "**************************************"
echo "**************************************"
objdump --disassemble rdrand-x32.o
echo
echo "**************************************"
echo "**************************************"
objdump --disassemble rdrand-x64.o