airportyh / learn-asm2

Second repo for learning assembly language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Learn ASM 2

Problems

  1. simple sums (x)
  2. reverse a string (x)
  3. arthmetic calculator, with + - * / and parans (x)
  4. histogram of letters (x)
  5. binary search trees (x)
  6. binary search
  7. try growing stack upwards in statically allocated memory
  8. malloc
  9. linked lists
  10. hash table
  11. write wc
  12. quicksort

Topics

  1. arithmetics (add, subtract)
  2. arithmetics 2 (multiply, divide)
  3. addressing memory
  4. labels and branching
  5. calls
  6. stack
  7. stack pointer
  8. program counter
  9. system calls
  10. library calls
  11. xmm_ instructions
  12. DIY malloc
  13. time-travel debugging
  14. Recursion

Books / Resources

Classic Recursion Problems

  1. Eucid's GCD algorithm
  2. Simple recursive descent parser

Questions

  1. How to snapshot/restore entire process memory?
  2. How to read from rflags/eflags?
  3. How to manage registers? What strategy to use when choosing between stack memory vs registers?

Reading List

About

Second repo for learning assembly language.


Languages

Language:Assembly 99.6%Language:C 0.4%