asm - assembler - Dicas, comandos e indicações de tutoriais.

Atualizado em: 06/09/2006



Sobre este documento

Algumas dicas e indicações de sites/tutoriais relacionados a asm (assembler), minha colinha de endereços que acho interessante sobre asm.

SUSE 10.1

parte do resultado da pesquisa por asm

smart search asm

  nasm - Netwide Assembler (An x86 Assembler)
  nasm-debuginfo - Netwide Assembler (An x86 Assembler)
  yasm - YASM is a complete rewrite of the NASM assembler
  yasm-debuginfo - YASM is a complete rewrite of the NASM assembler
  
  Debug = gdb
  smart search gdb
  
  gdb - The GNU Debugger
  gdb-debuginfo - The GNU Debugger
  kdbg - Graphical User Interface for GDB
  kdbg-debuginfo - Graphical User Interface for GDB

Instalar gcc, nasm e gdb

smart install gcc nasm gdb -y

Teste de funcionamento.

Use uma rotina pronta para testar, como este exemplo de ls em asm.
http://www.muppetlabs.com/~breadbox/software/tiny/ls.asm.txt
  mkdir /tmp/asm
  cd /tmp/asm
  wget http://www.muppetlabs.com/~breadbox/software/tiny/ls.asm.txt
  
  nasm -f bin -o asmls ls.asm.txt && chmod +x asmls
  
  ./asmls
  
  linux-zago:/tmp/asm # ./asmls
  asmls           ls.asm.txt
  

Tutoriais em português

http://www.dimap.ufrn.br/~ijeukens/dim056.html

Assembly avancado em Linux - x86 AT&T
com shellcodes
http://www.thebugmagazine.org/magazine/bug01/0x01_asm-avancado.txt
http://asc.di.fct.unl.pt/~pm/ASC1-04-05/praticas/
Em cada diretório tem um exercicio.
http://asc.di.fct.unl.pt/~pm/ASC1-04-05/praticas/ex4/

Tutoriais em inglês

GCC-Inline-Assembly-HOWTO
http://www.ibiblio.org/gferg/ldp/GCC-Inline-Assembly-HOWTO.html

http://asm.sourceforge.net/

algumas rotinas em asm, ls e outros, útil para estudo e testes.
http://www.muppetlabs.com/~breadbox/software/tiny/

Indicações

Página principal deste site (FAQ)
http://www.zago.eti.br/menu.html