AT&T Assembly Language Samples

1. Simple Samples

1.1 cpuid.s

result:
 

2. Moving Data

2.1 indexed_memory.s

result:
$ as -o indexed_memory.o indexed_memory.s
$ ld -dynamic-linker /lib/ld-linux.so.2 -lc -o indexed_memory indexed_memory.o
$ ./indexed_memory
  AT&T Assembly Language Samples_第1张图片
 
Knowledge: 1.indexed memory locations p101, 2.cleaning out the stack p312

2.2 cmovtest.s







你可能感兴趣的:(AT&T Assembly Language Samples)