16 bit logic/computer simulation in Swift
问题 I’m trying to make a basic simulation of a 16 bit computer with Swift. The computer will feature An ALU 2 registers That’s all. I have enough knowledge to create these parts visually and understand how they work, but it has become increasingly difficult to make larger components with more inputs while using my current approach. My current approach has been to wrap each component in a struct . This worked early on, but is becoming increasingly difficult to manage multiple inputs while staying