Questions about this topic? Sign up to ask in the talk tab.

Assembly

From NetSec
Jump to: navigation, search
  • assembler
  • linker


Data size & hex:

  • counting
  • nybble
  • byte
  • word
  • dword
  • qword


Number handling:

  • signed
  • unsigned
  • 2's compliment


Data storage:

  • register
  • pointer
  • sub-register
  • cpu flag registers
  • architecture-specific registers


Memory Addressing:

  • stack pointer
  • instruction pointer
  • base pointer
  • addressing mode
  • index


Instructions:

Concepts:

  • Assembly & operands -> Opcode Sequence
  • Opcode Sequence -> hardware gates (may interact with ram etc)


Syntaxes:

  • Intel (dest, src)
  • AMD (src, dest)


Data manipulation basic primitives:

  • mov
  • push
  • pop


Basic arithmetic:

  • add
  • sub
  • div
  • mul


Bitwise mathematics:

  • and
  • not
  • or
  • xor


  • shl
  • shr
  • rol
  • ror


Control flow operators:

  • cmp
  • jmp
  • call
  • ret


  • kernel interrupt
  • architecture
  • operating system