Similarly
enter 148, 0
is more weighty than push ebp
mov ebp, rsp
sub rsp, 148
and slightly heavier than add rsp, -148
I have to ask myself though, what was the rationale for Intel engineers to design such functionality into the processor. My guess would be ENTER is 1/3 the size of the conventional method in this example
0: c8 48 14 00 enter 0x1448,0x0
4: 55 push rbp
5: 48 89 e5 mov rbp,rsp
8: 48 81 ec 48 14 00 00 sub rsp,0x1448
and by that logic more efficient speed wise, at least in this example anyway