You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.1 KiB
44 lines
1.1 KiB
set x 0
|
|
start:
|
|
set main__tmp_0 x
|
|
set main__tmp_1 1
|
|
op add x main__tmp_0 main__tmp_1
|
|
set main__tmp_5 x
|
|
set main__tmp_6 3
|
|
op mod main__tmp_3 main__tmp_5 main__tmp_6
|
|
set main__tmp_4 0
|
|
op equal main__tmp_2 main__tmp_3 main__tmp_4
|
|
jump main__label_0_else notEqual main__tmp_2 true
|
|
set main__tmp_10 x
|
|
set main__tmp_11 5
|
|
op mod main__tmp_8 main__tmp_10 main__tmp_11
|
|
set main__tmp_9 0
|
|
op equal main__tmp_7 main__tmp_8 main__tmp_9
|
|
jump main__label_2_else notEqual main__tmp_7 true
|
|
set main__tmp_12 "fizzbuzz"
|
|
print main__tmp_12
|
|
jump main__label_3_endif always 0 0
|
|
main__label_2_else:
|
|
set main__tmp_13 "fizz"
|
|
print main__tmp_13
|
|
main__label_3_endif:
|
|
jump main__label_1_endif always 0 0
|
|
main__label_0_else:
|
|
set main__tmp_17 x
|
|
set main__tmp_18 5
|
|
op mod main__tmp_15 main__tmp_17 main__tmp_18
|
|
set main__tmp_16 0
|
|
op equal main__tmp_14 main__tmp_15 main__tmp_16
|
|
jump main__label_4_else notEqual main__tmp_14 true
|
|
set main__tmp_19 "buzz"
|
|
print main__tmp_19
|
|
jump main__label_5_endif always 0 0
|
|
main__label_4_else:
|
|
set main__tmp_20 x
|
|
print main__tmp_20
|
|
main__label_5_endif:
|
|
main__label_1_endif:
|
|
set main__tmp_21 message1
|
|
printflush main__tmp_21
|
|
jump start always 0 0
|