EECS 2021 Lecture Notes - Slacklining, Opcode, Register File

227 views3 pages

Document Summary

Please note that a short quiz based on assignment 2 will be held in class on monday, december 06, 2010 to assess your performance. Instead of using 2"s complement to handle subtraction, an unconventional machine uses a different approach. It performs subtraction in the alu by using a subtractor logic circuit obtained by cascading several 1-bit subtractors. A full 1-bit subtractor has three 1-bit inputs (two data inputs and a borrow input from the previous stage) and two 1-bit outputs (a difference bit and a borrow output bit to the next stage). A full subtractor is shown in fig. 1 where the data inputs are represented by a and b. Just as adding two numbers bit-by-bit generates carries, subtracting two numbers generates borrows that ripple from one bit position to the next. A 1 borrowed by the previous bit is shown in fig. 1 as the borrow-in bit (bin) and is an input to the subtractor.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents

Related Questions