pushall macro push ax push bx push cx push dx push ds push es push di ;I forgot SI in this macro, but once you add it in the code stops working! So I left it out. endm popall macro pop di pop es pop ds pop dx pop cx pop bx pop ax endm