generated from admin/template
25 lines
282 B
Kotlin
25 lines
282 B
Kotlin
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
|
|
*/ |