MicroController

by ljdp

Program circuit network logic using FAL, a Factorio Assembly Language.

Content
5 years ago
0.16
6
Circuit network
Owner:
ljdp
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
6 years ago
Latest Version:
0.4.1 (5 years ago)
Factorio version:
0.16
Downloaded by:
6 users

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

Examples

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.
:SETUP
clr
set 11 mem2
set 1 mem3
:LOOP
mov red@3 mem1
add mem1 mem@2
mov mem1 mem@2
:NEXT
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

Credit

Roundicons and Flaticons.com for the icon sprites.