📄 mcode.txt
字号:
const a 3
const b 4
const c 5
const d 7
const e 6
const f 67
const g 12
var x 0
var y 0
var z 0
var u 0
var v 0
var aa 0
var bb 0
var cc 0
var ee 0
var ff 0
var gg 0
func f1 int
vp a int
vp b int
vp c int
add b c t0
:= a t0
add a c t1
:= b t1
add a b t2
:= c t2
add a b t3
add t3 c t4
return t4
end f1
func f2 void
vp x int
vp y int
vp z int
read x
read y
read z
add y z t5
:= x t5
add x z t6
:= y t6
add x y t7
:= z t7
end f1;这里是个问题
func f3 int
add a b t8
:= x t8
add b c t9
:= y t9
add a c t10
:= z t10
add x y t11
add t11 z t12
return t12
end f3
start
func main
const pp 12
const qq 13
const ss 14
var ch 0
var ww 0
var i 0
read ch
read ww
add qq ss t13
add ch t13 t14
mul pp t14 t15
:= ch t15
add qq ss t16
add ch t16 t17
div ww t17 t18
:= ww t18
call f3
:= t19 f3
add ww t19 t20
:= ww t20
write call the function: string follow
pv pp
pv qq
pv ss
call f1
:= t21 f1
write t21 express
pv pp
pv qq
pv ss
call f2
L0
cmp i 10
jnle L1
add i 1 t22
:= i t22
write the string follow
write i express
write st time!\n string
goto L0
L1
cmp i 11
jequ L2 L3
L2
:= i 10
goto L4
L3
:= i 9
add i 1 t23
:= i t23
L4
add ch 1 t24
:= ch t24
cmp i 9
jequ L5 L6
L5
:= i 11
goto L7
L6
:= i 9
L7
cmp i 12
jge L8 L9
L8
write Hello,World! string
goto L10
L9
write i express
L10
end main
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -