19. UC-SLS Lecture 19 : Using C to map and organize our data bytes - Data Types#

  1. Intrinsic Types

  2. Arrays

  3. Structures

  4. Unions

Underlying Themes:

  • Memory and Memory Layout is exposed

  • Pointers provide first class support for working with address and types

  • Alignment and Endianess

  • Opcodes are generated to match type

    • you no longer have to worry about being consistent

      • as long as you carefully type things

    • subtle gotchas

      • mixing types

      • mixing sizes