Lec 37 Logical Instructions (Arif Butt @ PUCIT)

A recap of x86-64 register set and the programming toolchain. Summary of major categories of x86-64 instructions. A practical demo on the use of and, or, not, xor, and test instructions. A discussion on how the flags are affected after these logical instructions.

Email: arif@pucit.edu.pk

Web: http://www.arifbutt.me/

Sample Codes/Resources: https://bitbucket.org/arifpucit/coal-repo/src/

Lec 38 Bit Shifting Instructions (Arif Butt @ PUCIT)

A recap of x86-64 register set and the programming toolchain. Summary of major categories of x86-64 instructions. A practical demo on the use of and, or, not, xor, and test instructions. A discussion on how the flags are affected after these logical instructions.

Email: arif@pucit.edu.pk

Web: http://www.arifbutt.me/

Sample Codes/Resources: https://bitbucket.org/arifpucit/coal-repo/src/

Lec 39 Control Instructions – I (Arif Butt @ PUCIT)

A discussion on control of the flow of execution of a program and how to change it. Description of unconditional jump instruction with a demonstration of example programs. Discussion on signed and unsigned conditional jump instructions with a demonstration of sample x86-64 assembly programs. Translating C/C++ if…else code to x86 assembly code.

Email: arif@pucit.edu.pk

Web: http://www.arifbutt.me/

Sample Codes/Resources: https://bitbucket.org/arifpucit/coal-repo/src/

Lec 40 Control Instructions – II (Arif Butt @ PUCIT)

 

A Recap of the previous session. Translating high-level repetition structure (for, while, ….) to its corresponding x86 assembly code using conditional jump instructions as well as using x86 loop instructions.

Email: arif@pucit.edu.pk

Web: http://www.arifbutt.me/

Sample Codes/Resources: https://bitbucket.org/arifpucit/coal-repo/src/