File: rdrand-nasm.sh

package info (click to toggle)
libcrypto++ 5.6.4-8
  • links: PTS
  • area: main
  • in suites: buster
  • size: 11,896 kB
  • ctags: 13,256
  • sloc: cpp: 69,231; sh: 4,117; asm: 4,090; makefile: 373
file content (24 lines) | stat: -rwxr-xr-x 560 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/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