DEV Community

Discussion on: Node.js Under the Hood #8 - Understanding Bytecodes

Collapse
 
jankapunkt profile image
Jan Küster

Mul r0, [0]

This operation multiplies the value that is currently in the accumulator (y) by r0 (y) and stores the result into the accumulator

Shouldn't it be

This operation multiplies the value that is currently in the accumulator (y) by r0 (x)

?

Collapse
 
_staticvoid profile image
Lucas Santos

Ops! You're right, thanks for the heads up!