by ljdp
Program circuit network logic using FAL, a Factorio Assembly Language.
4 months ago
Owner: ljdp
Source: N/A
Homepage: N/A
License: MIT
Created: 1 year, 3 months ago
Latest Version: 0.4.1 (4 months ago)
Factorio version: 0.16
Downloaded: 1646 times

Handle your signals like a pro by writing FAL (Factorio Assembly Language).
This state of the art MicroController has 4 memory registers, can take any number of inputs on two channels, red and green plus 1 output register. The MicroController can do everything a combinator can do, only more and better!

FAL has 34 Opcodes and can read 32 lines of instructions.

Now works in multiplayer and has a visual inspector for the registers

Download the FAL Reference Document here: https://www.dropbox.com/s/oxbz75wkvc4lemg/FAL_REFERENCE.pdf?dl=0


Example 01

# Outputs the first signal 
# from red multiplied by 2.
mov red1 mem1
mul mem1 2
mov mem1 out
jmp 2

Example 02

# accumulates first 4 
# signals on the red wire.
set 11 mem2
set 1 mem3
mov [email protected] mem1
add mem1 [email protected]
mov mem1 [email protected]
add mem2 1
tlt mem1 15
set 11 mem1
mov mem1 mem2
add mem3 1
tlt mem1 5
set 1 mem1
mov mem1 mem3
jmp :LOOP


Roundicons and Flaticons.com for the icon sprites.