Dman95 / SASM

SASM - simple crossplatform IDE for NASM, MASM, GAS and FASM assembly languages

Home Page:http://dman95.github.io/SASM/

Repository from Github https://github.comDman95/SASMRepository from Github https://github.comDman95/SASM

Allow "push rbp" as first assembly statement

nirvdrum opened this issue · comments

When attempting to debug a function, SASM will automatically add mov rbp, rsp as the first statement, unless that's already the first statement. But, a common function preamble is:

push    rbp
mov     rbp, rsp

In this case, SASM unnecessarily adds the mov statement and leads to:

mov     rbp, rsp
push    rbp
mov     rbp, rsp