mirror of
https://github.com/livingcomputermuseum/ContrAlto.git
synced 2026-02-19 22:05:53 +00:00
28 lines
458 B
C#
28 lines
458 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Contralto.CPU
|
|
{
|
|
// From Alto Hardware Manual, Section 2.1
|
|
static class ALU
|
|
{
|
|
static ALU()
|
|
{
|
|
_lastCarry = 0;
|
|
}
|
|
|
|
|
|
|
|
public static ushort Execute(AluFunction fn, ushort a, ushort b)
|
|
{
|
|
|
|
return 0;
|
|
}
|
|
|
|
private static ushort _lastCarry;
|
|
}
|
|
}
|