UC-SLS Lecture 19 : Using C to map and organize our data bytes - Data Types
19. UC-SLS Lecture 19 : Using C to map and organize our data bytes - Data Types#
Intrinsic Types
Arrays
Structures
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