1/14
These flashcards cover key concepts related to memory operations in the context of the COMP-1200 course.
Address Space
The range of memory addresses that a process can use for storing data and instructions.
Stack Segment
Contains all local variables and function call information, where each function has its own set of variables.
Heap Memory
Dynamic memory used for storing objects and data structures that must persist beyond the scope of a function.
Text Segment
The area of memory where program instructions are stored.
Load/Store Instructions
Operations in assembly language that involve loading data from memory into registers and storing data from registers back into memory.
Assembler Directive
Instructions in assembly code that guide the assembler to treat subsequent code in specific ways.
Loop
A programming construct that repeats a block of code while a specified condition is true.
C Strings
A sequence of characters terminated by a null character, used in C programming for handling text.
Data Segment
Holds variables that are not local to a function, often referred to as global variables.
Pointer
A variable that holds a memory address, used to reference other variables.
Dynamic Memory Allocation
The process of allocating memory at runtime, typically using methods like new in Java.
Branch Instruction
An instruction in assembly language that alters the flow of control based on the outcome of a condition.
Alignment and Sizes
Requirements that memory addresses must meet for different types of data, affecting how instructions operate.
Flowchart
A diagram that represents a process or algorithm, often used to visualize control flow in programming.
RISC-V
A reduced instruction set computing architecture that uses load/store operations to interact with memory.