This commit is contained in:
2026-10-20 13:34:33 +03:00
parent 9771a76935
commit bbf24f4cf4
6 changed files with 47 additions and 17 deletions
+25
View File
@@ -0,0 +1,25 @@
package lab01
fun main() {
val a = 5
val b = 10
val sum = a + b
println(sum)
}
/*
L0
LINENUMBER 4 L0
ICONST_5
ISTORE 0
L1
LINENUMBER 5 L1
BIPUSH 10
ISTORE 1
L2
LINENUMBER 6 L2
ILOAD 0
ILOAD 1
IADD
ISTORE 2
L3
*/