Questions about this topic? Sign up to ask in the talk tab.
Difference between revisions of "Assembly"
From NetSec
Line 44: | Line 44: | ||
* Assembly & operands -> Opcode Sequence | * Assembly & operands -> Opcode Sequence | ||
* Opcode Sequence -> hardware gates (may interact with ram etc) | * Opcode Sequence -> hardware gates (may interact with ram etc) | ||
+ | |||
+ | |||
+ | ''Syntaxes:'' | ||
+ | |||
+ | * Intel (dest, src) | ||
+ | * AMD (src, dest) | ||
Revision as of 16:34, 10 May 2012
- 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