Tutorials 2+3 Addition and Subtraction

January 11, 2017

In the second and third tutorial we explore how a computer adds and subtracts binary numbers. Adding sits at the heart of most if not all computations - algorithms cleverly decompose higher mathematics into addition. Subtraction is achieved by forming the binary complement of the subtrahend and then adding it. Multiplication, is a sequence of additions. Division is a sequence of subtractions. 

 

The Blueberry4 Adder and Inverter modules form, what we call, the computer's Arithmetic Logical Unit.

 

Addition:

 

Subtraction:

 

 

Share on Facebook
Share on Twitter
Please reload

Featured Posts

Personal thoughts on the curriculum review

August 20, 2020

1/10
Please reload

Recent Posts
Please reload

Archive
Please reload

Search By Tags
Follow Us
  • Facebook Basic Square
  • Twitter Basic Square
  • Google+ Basic Square
  • White YouTube Icon
  • White Facebook Icon
  • White Twitter Icon
  • Instagram - White Circle

© 2016-20 AD by Digital Technologies Institute PTY LTD

0