Post

Taught my Kotlin scripting runtime to handle default parameters and named arguments. For simplicity, default evaluation lives in the function body and gets removed when inlined at the call site. #kotlin

Assembly result looks interesting. I can pretty much follow everything as listed. (Came from S/360 assembly background) I know what the mnemonic "MOV" does, and how the syntax of the instruction works, but what does the dot p mean as appended to the mov? (dot i means int, right?)

I need two different move instructions since I use separate stacks for primitive (.p) and object types (.a) for implementation reasons. The .i in the MUL instruction stands for 32bit integer multiplication, indeed.

0 reposts3 likes