Author Topic: Call by result  (Read 6342 times)

Offline martinJG

  • New Member
  • Posts: 1
Call by result
« on: November 07, 2018, 09:23:05 AM »
Hello all!

I am trying to write a programm for work, need to teach myself assembly. Since I cant use subroutines with the EBP (I kinda fail to get it to work) and I don't know if using esp is aceptable I was wondering if I can just call a function and give them some data, and return some data from that subfunction.

Or do I need to manually stack everything and de-stack it. In that case I'd really appreciate if someone could explain to me "real quick" how the ebp is used in subroutines.

Thanks you all.