def execute(self, eu: IExecutionUnit, *args) -> bool: port, dest = args if eu.has_input(port): value = eu.read_port(port) eu.store(value) return True return False
def execute(self, eu: IExecutionUnit, *args) -> bool: a, b = args eu.store(a | b) return True
def execute(self, eu: IExecutionUnit, *args) -> bool: value, _ = args eu.store(value) return False