Nand2Tetris Questions and Answers Forum
›
Hardware
›
Chapter 2
Login
Register
Search
everywhere
only in this topic
Advanced Search
zr and ng bits on the ALU output
Classic
List
Threaded
♦
♦
Locked
3 messages
Options
Loading...
Subscribe via email
Move topic
Pin topic
Unpin topic
Lock topic
Unlock topic
Delete this topic
Delete this topic
Change title and meta tags
Embed post
Permalink
Malco
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
More
Loading...
Edit post
Move post
Delete this post
Delete this post and replies
Change post date
Print post
Permalink
Raw mail
Dec 13, 2011; 1:31am
zr and ng bits on the ALU output
6 posts
Hey all,
I bought this book to get rid of some holes in my knowledge. So far I'm enjoying it.
SPOILER ALERT
I went through chapter 1 and most of chapter 2 smoothly, but the discussion never mentions the ZR nor the NG output bits of the ALU.
so, NG is the leftmost bit of OUT, that was easy. What about ZR? should I sum all other bits one by one?
cadet1620
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
More
Loading...
Reply to author
Edit post
Move post
Delete this post
Delete this post and replies
Change post date
Print post
Permalink
Raw mail
Dec 13, 2011; 5:13am
Re: zr and ng bits on the ALU output
Administrator
2607 posts
Malco wrote
What about ZR? should I sum all other bits one by one?
You made a part in chapter 1 that will tell you if an 8-bit value is non-zero. Combine the outputs from two of them to compute ZR.
--Mark
Malco
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
More
Loading...
Edit post
Move post
Delete this post
Delete this post and replies
Change post date
Print post
Permalink
Raw mail
Dec 17, 2011; 7:02am
Re: zr and ng bits on the ALU output
6 posts
Thank you cadet, that was easy
Free forum by Nabble
Edit this page