stack-machine

Are these the smallest possible x86 macros for these stack operations?

廉价感情. 提交于 2021-01-29 17:03:41
问题 I'm making a stack based language as a fun personal project. So, I have some signed/unsigned 32-bit values on the stack and my goal is to write some assembly macros that operate on this stack. Ideally these will be small since they'll be used a lot. Since I'm new to x86 assembly I was wondering if you guys had any tips or improvements you could think of. I'd greatly appreciate your time, thanks! Note: An optimizer is used after the macros are expanded to avoid cases like pop eax; push eax so

Learning resources - stack machines, JVM especially [closed]

时光怂恿深爱的人放手 提交于 2019-12-06 04:13:08
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I'm curious if anyone have any really good tutorials/articles/books for learning about stack machines in general, and the JVM in particular. I know these ones: http://www.artima.com/insidejvm/applets/EternalMath.html http://www.ibm.com/developerworks/ibm/library/it-haggar_bytecode/ http://www.theserverside.com

Learning resources - stack machines, JVM especially [closed]

六眼飞鱼酱① 提交于 2019-12-04 10:13:09
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I'm curious if anyone have any really good tutorials/articles/books for learning about stack machines in general, and the JVM in particular. I know these ones: http://www.artima.com/insidejvm/applets/EternalMath.html http://www.ibm.com/developerworks/ibm/library/it-haggar_bytecode/ http://www.theserverside.com/tt/articles/article.tss?l=GuideJavaBytecode Appearently the books Inside the JVM by Bill