EECS 2021 Lecture Notes - Slacklining, Opcode, Register File

226 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+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents

Related Questions