6 ms·
Learning assembly isn't really about learning assembly. It teaches the underlying concepts for how modern languages. For instance: The stack. Many languages us
by rcfox 16y ago
Learning assembly isn't really about learning assembly. It teaches the underlying concepts for how modern languages. For instance:
The stack. Many languages use a stack to allow recursion/nested functions. To make this easier, many processors support instructions for pushing/popping operations on the stack, and will reserve a register for holding a pointer to the top of the stack. While learning assembly, the concepts of recursion and tail-recursion begin to make sense. You also learn about reentrance.