-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vm if语句原理 #39
Comments
你说的是栈式虚拟机(stack_vm.py)吗? 直接分析if语句的例子吧:
用debug看一下会生成什么指令:
在分析指令前, 首先要知道栈这个数据结构, 你可以把它看做成一个数组 |
@StepfenShawn 谢谢,整个虚拟机的原理也搞明白了🤣 |
|
谢谢哦 |
今天好好研究了一下虚拟机里的if语句,但好像不太能理解,您能笼统地解释一下这个if的工作原理吗?
万分感激!(^-^)
The text was updated successfully, but these errors were encountered: