Assembly language programming is has many similarities to programming your calculator because your calculator only uses registers and key functions.

Research Links

For this example with the NASM assembler:  opcode destination, source

Base Pointer: EBP:  As the stack grows and shrinks during a function the offset of local variables and function parameters relative to ESP changes. To simplify things Intel uses a base pointer (sometimes called a frame pointer) that is stored in EBP. EBP is a pointer to the top of the stack when the function is first called.


Categories: Computing

Leave a Reply

Your email address will not be published. Required fields are marked *