2 posts tagged “vm”
まあ、大学がもう一度始まりましたから、RubyExのついてにことができません!暇な時が全然ありません、いつも忙しくてはらはらします!それに、日本語の学科でもう1年間上のレベルに入ることになりましたから、もっともっと忙しくなりましたぁ。( 私は言うまでもなく日本語が上手じゃないからです)
これでもね、今は学期中間休みです!一週間だけですけど、ちょっとできるだけしよう。RubyExのVMが少し務まるのはゴールです。
Well, university started once more, so I've been unable to work on RubyEx! I've had no time to myself at all, always busy and nervous! In addition, I moved up an extra year in my Japanese studies, so I've been more and more busy. (as I am clearly not so great at Japanese)
However, now it's mid-semester break! I get a week only, but I'll do a bit of what I can. My goal is to have RubyEx's VM working a bit as it should.
Read instruction: CALL p (1 arg/s)
argument: STACK: pop() -- new stack size: 2
type=3
Read instruction: END
Read instruction: PUSH INTEGER_LITERALSTACK: push() -- new stack size: 3Read instruction: TARGET_CALL_BLOCK upto (1 arg/s)
STACK: pop() -- new stack size: 2
STACK: pop() -- new stack size: 1
argument: STACK: pop() -- new stack size: 0
type=3
Read instruction: END
Read instruction: PUSH INTEGER_LITERALSTACK: push() -- new stack size: 1Read instruction: TARGET_CALL_BLOCK upto (1 arg/s)
STACK: pop() -- new stack size: 0
STACK: pop() -- new stack size: ffffffff
argument: STACK: pop() -- new stack size: fffffffe
type=3
This is what happens when you write a VM. You get a stack with length 0xfffffffe.
