Lab2: Data Types

  • Using sub-registers, accessing smaller values and zero extending
    • Copy the Lab2 folder and its contents
    • Modify the *.nasm file (Each function should have a comment block - lines starting with ';' containing instructions)
    • Build and run using the following commands:
cd ~/path/to/copied/folder/Lab2
cmake . && cmake --build .
./lab2