fCPU


Factorio Customizable Processing Unit. Allow to write any logic on low level machine code. The fCPU acts like a programmable microcontroller with a vector coprocessor that supports many useful instructions.

Content
2 days ago
0.18 - 2.0
11.9K
Logistic network Circuit network

b game crash

when I run this code:

mov r1 1
mov r2 1
:loop
add r2 r1 r2
add r1 r1 r2
jmp loop

the game crashes
no error, it just stops responding

15 days ago

Hello. Thank you for report.
This happens when you run Factorio in debug mode and is not a problem.
In this mode, the exception is not handled by the game but is passed to the debugger (most likely the Factorio Modding Tool Kit in VSCode).

The actual issue causing your program not to work is the instruction jmp loop; the correct form is jmp :loop

New response