ECS 50 Lecture Notes - Lecture 4: Assembly Language, Delimiter, O Scale
Document Summary
Registers: each of the following registers is 32 bits in size. Used as the base pointer in c code. Can be used as a general register in stand alone code. The stack pointer: you can access smaller portions of eax, ebx, ecx, and edx, the following example only shows the syntax for eax but it does apply to the the above mentioned registers. Make space for a byte and initialize it val. Make space for 2 bytes and initialize it val. Make space for 4 byte and initialize it val. Make space for 4 bytes and initialize its value to the iee floating point standard. Make space for null terminated string and initialize it to val. Make space for n bytes of uninitialized memory. All occurrences of label will be substituted with value. While not actually a preprocessor directive _start indicates where execution should begin.