Note to Myself
Bir integer'in signed veyahut unsigned olduğu assembly kodlarından anlaşılabilir.
Some common signed instructions
- IDIV - Signed divide
- IMUL - Signed multiply
- SAL - Signed left shift
- SAR - Signed right shift
- MOVSX - Move, sign extend
- JL - Jump if less
- JLE - Jump if less or equal
- JG - Jump if greater
- JGE - Jump if greater or equal
Some common unsigned instructions
- DIV - Unsigned divide
- MUL - Unsigned multiply
- SHL - Unsigned left shift
- SHR - Unsigned right shift
- MOVZX - Move, zero extend
- JB - Jump if below
- JBE - Jump if below or equal
- JA - Jump if above
- JAE - Jump if above or equal
(Kaynak: http://security.cs.rpi.edu/courses/binexp-spring2015/lectures/19/11_lecture.pdf)
Yorumlar
Yorum Gönder