Closed asmwarrior closed 2 years ago
Can you send me a documentation to how it should work, then I can implement soon.
https://www.keil.com/support/man/docs/is51/is51_push.htm should help you
Yes, @kimstik gives the correct document. Thanks.
One more reference example is "cl_51core::instruction_c0" in https://sourceforge.net/p/sdcc/code/HEAD/tree/trunk/sdcc/sim/ucsim/s51.src/mov.cc
I implement this feature, see here:
Thank you.
I would like to use this simulator for teaching.
I can generate many asm files (which contains some random numbers) in the asm instructions. Then I can send those files to my students, and the students can verify the code, and give the results.
I can check whether their answer is correct or not by this simulator.
So, any idea to implement the pop and push command? which need to implement a special sfr
SP
.Thanks.