You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started to look through bytecode, understanding ABCDE and AUX and how they're built up in the instructions.
But there's still a couple of things that I do not understand and I seek explanation for.
There's other dependent things. The simple thing to understand is that stuff like LOADN loads stuff into a Register and etc. however, there's GETUPVAL, but how does it know that it's the right Register?
Then the next part is Registers in general. Everything can go wrong if the Registers are wrong. RETURN seems to rely on Registers and CALL seems to free out registers.
So I am wondering how it free's out those registers and if every Proto has their own Register or something.
I started to look through bytecode, understanding Instructions ABCDE and AUX and how they're built up in the instructions.
But there's still a couple of things that I do not understand and I seek explanation for.
There's other dependent things. The simple thing to understand is that stuff like LOADN loads stuff into a Register and etc. however, there's GETUPVAL, but how does it know that it's the right Register?
Then the next part is Registers in general. Everything can go wrong if the Registers are wrong. RETURN seems to rely on Registers and CALL seems to free out registers.
So I am wondering how it free's out those registers and if every Proto has their own Register or something.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I started to look through bytecode, understanding ABCDE and AUX and how they're built up in the instructions.
But there's still a couple of things that I do not understand and I seek explanation for.
There's other dependent things. The simple thing to understand is that stuff like LOADN loads stuff into a Register and etc. however, there's GETUPVAL, but how does it know that it's the right Register?
Then the next part is Registers in general. Everything can go wrong if the Registers are wrong. RETURN seems to rely on Registers and CALL seems to free out registers.
So I am wondering how it free's out those registers and if every Proto has their own Register or something.
Beta Was this translation helpful? Give feedback.
All reactions