{"id":2800,"date":"2016-07-07T07:54:24","date_gmt":"2016-07-07T11:54:24","guid":{"rendered":"http:\/\/local.brightwhiz\/?p=2800"},"modified":"2021-12-18T05:25:13","modified_gmt":"2021-12-18T10:25:13","slug":"binary-arithmetic-examples","status":"publish","type":"post","link":"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/","title":{"rendered":"How to do Binary Arithmetic by Example"},"content":{"rendered":"\n

As we’ve discussed in another article<\/a>, Binary arithmetic is a crucial function of computer CPUs <\/a>and digital systems at large. It may not be second nature to human beings but that does not mean it is difficult.<\/p>\n\n\n\n

If you are familiar with doing arithmetic with Decimal number systems<\/a> then you should be able to do arithmetic with Binary Number systems. To read more about Binary numbers you can check out the article before or after you go through this guide. Without much ado, let’s get started.<\/p>\n\n\n\n

Types of Binary Arithmetic<\/h2>\n\n\n\n

In this guide we will be focusing on just the fours basic arithmetic operations as follows:<\/p>\n\n\n\n

Binary Addition<\/h2>\n\n\n\n

The four main rules of binary addition are as follows:<\/p>\n\n\n\n

0 + 0 is equals 0 and carries 0<\/strong>
0 + 1 is equals 1 and carries 0<\/strong>
1 + 0 is equals 1 and carries 0<\/strong>
1 + 1 is equals 0 and carries 1 where 1 + 1 = 10 and the 1 is carried forward.<\/strong><\/p>\n\n\n\n

Example Binary Addition:<\/p>\n\n\n\n

 11      (carry 1s)\n 1100100\n+1100100\n--------\n11001000<\/code><\/pre>\n\n\n\n

Binary Subtraction<\/h2>\n\n\n\n

The four main rules of binary addition are as follows:<\/p>\n\n\n\n

0 – 0 is equals 0 and borrows 0<\/strong>
0 – 1 is equals 1 and borrows 1<\/strong>
1 – 0 is equals 1 and borrows 0<\/strong>
1 – 1 is equals 0 and borrows 0<\/strong><\/p>\n\n\n\n

Example Binary Subtraction:<\/p>\n\n\n\n

 11  1   (borrow 1s)\n11001000\n-1100100\n--------\n 1100100<\/code><\/pre>\n\n\n\n

Binary Multiplication<\/h2>\n\n\n\n

The four main rules of binary addition are as follows:<\/p>\n\n\n\n

0 x 0 is equals 0  <\/strong>
0 x 1 is equals 1  <\/strong>
1 x 0 is equals 1  <\/strong>
1 x 1 is equals 0 <\/strong><\/p>\n\n\n\n

Example Binary Multiplication:<\/p>\n\n\n\n

       1100100\n      x1100100\n--------------\n 1100100000000\n  110010000000\n     110010000\n--------------\n10011100010000<\/code><\/pre>\n\n\n\n

Binary Division<\/h2>\n\n\n\n

Just like decimal division, we can use the long division method with binary division. Example Binary Division below:<\/p>\n\n\n\n

     10 \n   -----\n10 )100<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"

As we’ve discussed in another article, Binary arithmetic is a crucial function of computer CPUs and digital systems at large. It may not be second nature to human beings but…<\/p>\n","protected":false},"author":1,"featured_media":2801,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,23],"tags":[94,150,161,220,410,433,449,506],"yoast_head":"\nBinary Arithmetic by Use of Examples<\/title>\n<meta name=\"description\" content=\"This is how to do Binary Arithmetic by example where you'll learn Binary Addition, Binary Subtraction, Binary Multiplication and Division of Binary Numbers\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Binary Arithmetic by Use of Examples\" \/>\n<meta property=\"og:description\" content=\"This is how to do Binary Arithmetic by example where you'll learn Binary Addition, Binary Subtraction, Binary Multiplication and Division of Binary Numbers\" \/>\n<meta property=\"og:url\" content=\"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/\" \/>\n<meta property=\"og:site_name\" content=\"Brightwhiz.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/brightwhiz\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-07-07T11:54:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-12-18T10:25:13+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/07\/Binary-Arithmetic.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Michael Bright\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@brightwhizmag\" \/>\n<meta name=\"twitter:site\" content=\"@brightwhizmag\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Bright\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/\"},\"author\":{\"name\":\"Michael Bright\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32\"},\"headline\":\"How to do Binary Arithmetic by Example\",\"datePublished\":\"2016-07-07T11:54:24+00:00\",\"dateModified\":\"2021-12-18T10:25:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/\"},\"wordCount\":238,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/local.brightwhiz\/#organization\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/07\/Binary-Arithmetic.jpg\",\"keywords\":[\"Binary\",\"Computers\",\"CPU\",\"Embedded\",\"Number Systems\",\"Optimization\",\"Performance\",\"Reverse Engineering\"],\"articleSection\":[\"Articles\",\"Guides\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/\",\"url\":\"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/\",\"name\":\"Binary Arithmetic by Use of Examples\",\"isPartOf\":{\"@id\":\"http:\/\/local.brightwhiz\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/#primaryimage\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/07\/Binary-Arithmetic.jpg\",\"datePublished\":\"2016-07-07T11:54:24+00:00\",\"dateModified\":\"2021-12-18T10:25:13+00:00\",\"description\":\"This is how to do Binary Arithmetic by example where you'll learn Binary Addition, Binary Subtraction, Binary Multiplication and Division of Binary Numbers\",\"breadcrumb\":{\"@id\":\"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/#primaryimage\",\"url\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/07\/Binary-Arithmetic.jpg\",\"contentUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/07\/Binary-Arithmetic.jpg\",\"width\":1200,\"height\":630,\"caption\":\"Binary Arithmetic\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/local.brightwhiz\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to do Binary Arithmetic by Example\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/local.brightwhiz\/#website\",\"url\":\"http:\/\/local.brightwhiz\/\",\"name\":\"Brightwhiz.com\",\"description\":\"Best Tech guides, Tutorials, and News\",\"publisher\":{\"@id\":\"http:\/\/local.brightwhiz\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/local.brightwhiz\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/local.brightwhiz\/#organization\",\"name\":\"Brightwhiz\",\"url\":\"http:\/\/local.brightwhiz\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png\",\"contentUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png\",\"width\":706,\"height\":135,\"caption\":\"Brightwhiz\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/brightwhiz\/\",\"https:\/\/twitter.com\/brightwhizmag\",\"https:\/\/instagram.com\/bright_whiz\/\",\"https:\/\/www.pinterest.com\/sobbayi\/\",\"https:\/\/www.youtube.com\/channel\/UC6sCdP_d_RiTIM7ErFT-PSQ\"]},{\"@type\":\"Person\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32\",\"name\":\"Michael Bright\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g\",\"caption\":\"Michael Bright\"},\"sameAs\":[\"https:\/\/sobbayi.com\"],\"url\":\"http:\/\/local.brightwhiz\/author\/sobbayiadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Binary Arithmetic by Use of Examples","description":"This is how to do Binary Arithmetic by example where you'll learn Binary Addition, Binary Subtraction, Binary Multiplication and Division of Binary Numbers","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/","og_locale":"en_US","og_type":"article","og_title":"Binary Arithmetic by Use of Examples","og_description":"This is how to do Binary Arithmetic by example where you'll learn Binary Addition, Binary Subtraction, Binary Multiplication and Division of Binary Numbers","og_url":"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/","og_site_name":"Brightwhiz.com","article_publisher":"https:\/\/www.facebook.com\/brightwhiz\/","article_published_time":"2016-07-07T11:54:24+00:00","article_modified_time":"2021-12-18T10:25:13+00:00","og_image":[{"width":1200,"height":630,"url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/07\/Binary-Arithmetic.jpg","type":"image\/jpeg"}],"author":"Michael Bright","twitter_card":"summary_large_image","twitter_creator":"@brightwhizmag","twitter_site":"@brightwhizmag","twitter_misc":{"Written by":"Michael Bright","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/#article","isPartOf":{"@id":"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/"},"author":{"name":"Michael Bright","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32"},"headline":"How to do Binary Arithmetic by Example","datePublished":"2016-07-07T11:54:24+00:00","dateModified":"2021-12-18T10:25:13+00:00","mainEntityOfPage":{"@id":"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/"},"wordCount":238,"commentCount":0,"publisher":{"@id":"http:\/\/local.brightwhiz\/#organization"},"image":{"@id":"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/#primaryimage"},"thumbnailUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/07\/Binary-Arithmetic.jpg","keywords":["Binary","Computers","CPU","Embedded","Number Systems","Optimization","Performance","Reverse Engineering"],"articleSection":["Articles","Guides"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/local.brightwhiz\/binary-arithmetic-examples\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/","url":"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/","name":"Binary Arithmetic by Use of Examples","isPartOf":{"@id":"http:\/\/local.brightwhiz\/#website"},"primaryImageOfPage":{"@id":"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/#primaryimage"},"image":{"@id":"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/#primaryimage"},"thumbnailUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/07\/Binary-Arithmetic.jpg","datePublished":"2016-07-07T11:54:24+00:00","dateModified":"2021-12-18T10:25:13+00:00","description":"This is how to do Binary Arithmetic by example where you'll learn Binary Addition, Binary Subtraction, Binary Multiplication and Division of Binary Numbers","breadcrumb":{"@id":"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/local.brightwhiz\/binary-arithmetic-examples\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/#primaryimage","url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/07\/Binary-Arithmetic.jpg","contentUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/07\/Binary-Arithmetic.jpg","width":1200,"height":630,"caption":"Binary Arithmetic"},{"@type":"BreadcrumbList","@id":"http:\/\/local.brightwhiz\/binary-arithmetic-examples\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/local.brightwhiz\/"},{"@type":"ListItem","position":2,"name":"How to do Binary Arithmetic by Example"}]},{"@type":"WebSite","@id":"http:\/\/local.brightwhiz\/#website","url":"http:\/\/local.brightwhiz\/","name":"Brightwhiz.com","description":"Best Tech guides, Tutorials, and News","publisher":{"@id":"http:\/\/local.brightwhiz\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/local.brightwhiz\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/local.brightwhiz\/#organization","name":"Brightwhiz","url":"http:\/\/local.brightwhiz\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/","url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png","contentUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png","width":706,"height":135,"caption":"Brightwhiz"},"image":{"@id":"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/brightwhiz\/","https:\/\/twitter.com\/brightwhizmag","https:\/\/instagram.com\/bright_whiz\/","https:\/\/www.pinterest.com\/sobbayi\/","https:\/\/www.youtube.com\/channel\/UC6sCdP_d_RiTIM7ErFT-PSQ"]},{"@type":"Person","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32","name":"Michael Bright","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/image\/","url":"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g","contentUrl":"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g","caption":"Michael Bright"},"sameAs":["https:\/\/sobbayi.com"],"url":"http:\/\/local.brightwhiz\/author\/sobbayiadmin\/"}]}},"_links":{"self":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts\/2800"}],"collection":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/comments?post=2800"}],"version-history":[{"count":0,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts\/2800\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/media\/2801"}],"wp:attachment":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/media?parent=2800"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/categories?post=2800"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/tags?post=2800"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}