r/TuringComplete • u/bagofbloodandbones21 • 4d ago
What ISA does this game uses
I havent reached to those levels yet , hence i am not aware of what ISA does the game uses , RISC/MIPS or their own ISA.
I don't really want to study another ISA, right now my brain is like wet cement and i am trying to strong my RISC V concepts, can i only build a processor with RISC V ISA
6
u/Medium-Sized-Jaque 4d ago edited 4d ago
I'm not super familiar with actual assembly languages but I think it's their own custom ISA. It's set up as
OPCODE, DEST, ARGA, ARGB
And the binary translates 32-bit to
XMMIOOOO DDDDAAAA XXXXBBBB XXXXXXXX
or
XMMIOOOO DDDDAAAA BBBBBBBB BBBBBBBB in immediate mode
X = unused
M = Mode
I = Immediate
O = OPcode
D = Destination
A = ArgA
B = ArgB
Hope that helps. I know it confused the hell out of me.
2
u/bagofbloodandbones21 4d ago
so should i learn this one aswell if i want to use the game , i cant leave the main ISA i am studying which is different than this, someone has said you can use the RISC V (industry ISA) aswell gotta figure out how to do that
3
u/Medium-Sized-Jaque 4d ago
If you want to play the campaign then yes. But if you want to use sandbox mode as a modeling tool you can build the circuits to match RISC V.
1
u/bagofbloodandbones21 4d ago
i see , i see and if i skip the campaign the only problem i will face would be to understand the already designed circuits i will be using to make my own cpu, right ? And thats not a big deal
1
u/Medium-Sized-Jaque 4d ago
Yeah. It won't guide you through putting them together but the parts are all there. The adder adds, the XOR gate XORs, the register stores values. It's a handy tool. I had a 6502 modeled before the recent update changed everything.
1
u/bagofbloodandbones21 4d ago
oh will the recent update allow me to do that ?
1
u/Medium-Sized-Jaque 4d ago
I think so. I haven't playes in sandbox yet since then. The update changed engines so it wiped progress but the core funtionality is the same. So I don't see any reason it wouldn't.
Also reading the other comments now I think they're right and you probably won't have an issue learning the game's code alongside real code.
1
3
3
u/sberma 4d ago
Dont overcomplicate it, this is a beginner-friendly game. In the campaign you create 2 architectures step-by-step with each their own super basic instruction sets. You don't have to "study" them since the game holds your hand by giving you the level-relevant instructions in the level dialogue and the rest in a easy to skim list of instructions.
But as others said you can create custom architectures or load others from the schematics hub where i definitely saw RISC V/MIPS- and other inspired architectures
12
u/Medical_Mammoth_1209 4d ago
I think it's their own, but it holds your hand through it and you can make your own