Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ALU #1

Open
16 of 17 tasks
HansenDJ opened this issue Mar 27, 2024 · 2 comments
Open
16 of 17 tasks

ALU #1

HansenDJ opened this issue Mar 27, 2024 · 2 comments
Assignees

Comments

@HansenDJ
Copy link
Owner

HansenDJ commented Mar 27, 2024

8-bit Computation ALU:

  • 8-bit Add/Sub
  • 8-bit Multiply
  • 8-bit Divide
  • 8-bit XOR
  • 8-bit OR
  • 8-bit AND
  • 8-bit Compliment
  • 8-bit Inc
  • 8-bit Dec
  • 8-bit Logical Left Shift
  • 8-bit Logical Right Shift
  • 8-bit Arithmetic Left Shift
  • 8-bit Arithmetic Right Shift

16-bit Address ALU:

  • 16-bit Add/Sub
  • 16-bit Load Effective Address
  • 16-bit Inc
  • 16-bit Dec
@hyperdriveguy
Copy link
Collaborator

hyperdriveguy commented Mar 30, 2024

The ALU should also include:

  • 8-bit and 16-bit Comparator, register inputs or register and immediate with flag changes for outputs
    • Check equal values, store in z
    • Unsigned greater than, store in c
    • Unsigned less than, store in c
    • Signed greater than, store in s
    • Signed less than, store in s

@hyperdriveguy
Copy link
Collaborator

15 8-bit operations, 6 16-bit operations

@HansenDJ HansenDJ mentioned this issue Apr 6, 2024
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

2 participants