Stack in Assembly Language with Program | PUSH | POP | x86 | MASM | DOSBOX |

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ธ.ค. 2024

ความคิดเห็น • 2

  • @maxmuster7003
    @maxmuster7003 ปีที่แล้ว +2

    On older PC before Pentium 4 was made the push and pop instructions are slower than mov and mov instructions example writing into and reading from the data segment. So better don’t use and ignore the calling convention on older PC and use mov instructions instead and then you don’t have to care about the stack pointer or how to get values multiple times from within nested subroutines. I use a tiny stack only for return addresses of call instructions and nothing else.

    • @mrsaqlain75
      @mrsaqlain75  ปีที่แล้ว +1

      Thank you for your feedback.
      Really appreciated