EC

  • Edwin Chan
  • CV
  • CPSC 233
  • CPSC 331
  • CPSC 355
  • CPSC 581
  • Origami
  • Random

Recap (Sep 26): What you should know by now

We've been going pretty fast, and it's easy to lose track of what you (should have) learned.

From tutorials, you should know:

  • how to remote access (SSH) into the school arm server (arm.cpsc.ucalgary.ca)
  • how to write/compile/execute a C program (we used vim, but you can use any editor)
    • hello world
    • printf(), scanf()
    • getchar(), putchar()
    • strcopy(), strlen()
  • how to write/compile/execute an ARMv8 assembly program
    • understand examples [helloworld, whileloop, optimized whileloop, conditionals]
  • debug your program with gdb debugger

What you need to know for Assignment 1:

  • Ability to work with basic arithmetic, loops, and if-else constructs in assembly
  • Ability to print to standard output using the printf() function
  • Ability to optimize assembly code by rearranging loops and using alternate instructions
  • Ability to use macros in assembly code
  • Ability to assemble programs using gcc and use m4 to process macros
  • Ability to use gdb to debug and display assembly language programs
  • Edwin Chan
  • CV
  • CPSC 233
  • CPSC 331
  • CPSC 355
  • CPSC 581
  • Origami
  • Random