I'm studying computer architecture and I was thinking about what assembly instruction corresponds to this simple assignment :
int main () {
int local_test = 10;
}
Considering that the STORE instruction store something from a register to RAM and that the LOAD instruction load something from RAM into a register what is the assembly instruction used for local_test ?
- I know that it could depend on the CPU, so feel free to give a specific example for a specific machine