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

[FYI] how the 16 bits of one instruction relate to the interface of the ALU ? #1

Open
OccupyMars2025 opened this issue Apr 27, 2024 · 0 comments

Comments

@OccupyMars2025
Copy link
Owner

OccupyMars2025 commented Apr 27, 2024

In Figure 4.5 (Hack instruction set), if you examine it carefully, you can find that the "cccccc" corresponds to the 6 input ports "zx nx zy ny f no" of the ALU exactly, that is, instruction[11] is connected to "zx" ..., this observation should greatly simplify your implementation of nand2tetris/projects/5/CPU.hdl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant