Slide 1 Slide 2 Slide 3 Slide 4 Slide 5 Slide 6 Slide 7 Slide 8 Slide 9 Slide 10 Slide 11 Slide 12 Slide 13 Slide 14 Slide 15 Slide 16 Slide 17 Slide 18 Slide 19 Slide 20 Slide 21 Slide 22 Slide 23 Product List
CPU-Slide17

All these operations, which are necessary for a subroutine call, are completed in four cycles with the ENTER instruction. Locating the Frame Base pointer as part of the instruction allows the compiler to use the efficient Frame Base Relative (FBR) addressing mode to access variable information. At the end of the subroutine, the 2-byte EXITD instruction removes the temporary stack frame and restores the original Stack Pointer and Frame Base values. It also performs the return-from-subroutine function.

PTM Published on: 2011-12-30