{"id":14219,"date":"2022-11-05T09:17:38","date_gmt":"2022-11-05T09:17:38","guid":{"rendered":"https:\/\/bryceautomation.com\/?p=14219"},"modified":"2022-11-05T09:17:41","modified_gmt":"2022-11-05T09:17:41","slug":"cosmac-1802-addition-instructions","status":"publish","type":"post","link":"https:\/\/bryceautomation.com\/index.php\/2022\/11\/05\/cosmac-1802-addition-instructions\/","title":{"rendered":"COSMAC 1802 Addition Instructions"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Introduction to the COSMAC 1802 Addition Instructions<\/h2>\n\n\n\n<p>There are four COSMAC 1802 Addition Instructions:  ADD, ADI, ADC, and ADCI.  In this section we&#8217;ll take a closer look at each one of these instructions.  Basically, the ADD statement will add a memory location to the value in the accumulator.  The ADI is for immediate values.  With this instruction, we can add any immediate value (constant) to the accumulator.  There are also two instructions that deal with the carry DF (Data Flag) bit.  DF is the 1802&#8217;s version of the carry bit.  The carry instructions are ADC, and ADCI.  ADC will add the accumulator to a memory location (plus the carry bit),   ADCI is similar, but adds an immediate value to the accumulator plus the carry bit.<\/p><div id=\"bryce-2745386482\" class=\"bryce-afterfirst bryce-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-8316758073402323\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-8316758073402323\" \ndata-ad-slot=\"7728240895\" \ndata-ad-format=\"auto\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>\n\n\n\n<p>With addition, it&#8217;s important to understand what the carry bit is.  If our math exceeds 255 decimal (FF Hex), then we set the carry bit.  This is useful when working with large numbers.  <\/p>\n\n\n\n<p>Let&#8217;s take a look at each of these addition instructions individually to see how they operate.<\/p>\n\n\n\n<p>I&#8217;ll be using the <a href=\"https:\/\/bryceautomation.com\/index.php\/2022\/10\/22\/a18-assembler-for-cosmac\/\">A18 Assembler <\/a>for this post.  I like to use that with Kwrite in linux, and take advantage of the auto reload feature.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"688\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/11\/Assembler-1024x688.png\" alt=\"\" class=\"wp-image-14230 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/11\/Assembler-1024x688.png 1024w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/11\/Assembler-300x202.png 300w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/11\/Assembler-768x516.png 768w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/11\/Assembler.png 1252w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/688;\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">ADD Instruction<\/h2>\n\n\n\n<p>The ADD instruction will simply add a memory location to the accumulator.  Remember, in the 1802, the accumlator is the &#8220;D&#8221; register.  The result of the ADD remains in the accumulator.  Since this instruction uses the X register, it needs no other operands.<\/p>\n\n\n\n<p>We must first be sure the X designator is set to the correct register.  We do this with the SEX (Set X) Command.  Here is a sample program that uses the ADD instruction.<\/p>\n\n\n\n<p>The memory location we get data from will be 8200H.  This is because we will set X to register 13.  We don&#8217;t get data from register 13, but we get data from the memory location that register 13 points to.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>MYMEMORY:       EQU     8200H; \nBREAK:          EQU     2756h\nRC              EQU     13\n\n                ORG     8000H ; ORIGINATE AT 8000H\n                LOAD    RC, MYMEMORY  ;SET UP RC TO POINT TO 8200H\n                LDI     55H ;LOAD 55H INTO THE ACCUMULATOR\n                STR     RC  ;STORE THIS 55H TO 8200H\n                SEX     RC  ;SET X REGISTER TO 13\n                LDI     02H ;LOAD ACCUMULATOR WITH 02H\n                ADD         ;ADD ACCUMULATOR TO 55H (AT 8200H)\n                STR     RC  ;STORE THE RESULT BACK TO 8200H;\n                LBR     BREAK ;EXECUTE BREAK ROUTINE IN ROM.\n                END\n<\/code><\/pre>\n\n\n\n<p>As you can see, we set a couple aliases for the program to make things easier to remember in the rest of our program.  Our program will originate at 8000H.<\/p>\n\n\n\n<p>We set the X Register to RC (In our aliases, we designate this as register 13).  After that, we load the value of 2H into the accumulator.  When we execute the ADD instruction, the processor will add the accumulator to the value in 8200H.  The accumulator contains the result of this math.  Therefore, if we assume that 8200H is already populated with the value of 55H, then our result will be 57H.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">ADI (ADD Immediate) Instruction<\/h2>\n\n\n\n<p>The ADI instruction is very easy to use.  It simply adds a static value to the accumulator.  You might use this to increment a register.  Here is a simple example.  Let&#8217;s say that register RC contains the value of 8200H  Remember, these are 16 bit registers, so we can get the high byte with GHI or get low byte with the GLO command.  To increment the low byte of of register RC, we will use the following logic.  For a complete program, you would obviously want to add the aliases and ORG statement as we did in the first example though.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>          GLO  RC\n          ADI  01H\n          PLO  RC<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Add with Carry Instruction (ADC)<\/h2>\n\n\n\n<p>The Add with Carry instruction (ADC) uses the X register just like the ADD instruction.  The difference is that this instruction also includes the carry bit.  We might use this instruction to perform math on larger numbers which require 2 memory cells (16 bits).  Let&#8217;s take a look at how we would increment a memory cell where we need to increment a high byte due to carry.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>LOWBYTE:  EQU  8200H  ;Assume this byte contains FFH\nHIBYTE:   EQU  8201H  ;Assume this byte contains 01H\nBREAK:    EQU  2756H  ;Break routine in ROM\nRE        EQU  14\nRF        EQU  15\n          \n          ORG  8000H\n          LOAD RE, LOWBYTE ; RE contains the address of the lowbyte\n          LOAD RF, HIBYTE  ; RF Contains the address of the high byte\n\n          LDI  0FFH  ; Load FFH into D\n          STR  RE   ; Store this to RE\n          LDI  01H  ; Load 01H into D\n          STR  RF   ; 8201 now contains the value of 01h\n\n          SEX  RE         ; Set X to RE\n          LDI  01H        ; Load 1 into D\n          ADD             ; Add 1 to Low Byte (We don't need to look for carry)\n          STR  RE         ; Store the result\n          SEX  RF         ; Set X to RF\n          LDI  00H        ; Load 0 into accumulator.\n          ADC             ; If DF (Carry) Set, Add 1 to accumulator\n          STR  RF         ; Store the result\n          LBR  BREAK\n          END<\/code><\/pre>\n\n\n\n<p>When you run this logic, you will see that 8200H contains 00H, while 8201 contains 02H.  The answer of our addition is 0200H.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Add with Carry Immediate Instruction (ADCI)<\/h2>\n\n\n\n<p>In this example, we&#8217;ll do something similar to what we did with the ADC Instruction.  The ADCI works very similar to the ADI instruction, except that it also adds the DF bit.  This time, we&#8217;ll increment a register.  Let&#8217;s assume that register RF contains 82FFH.  When we add 0 with carry, we&#8217;ll end up with 8300H.  <\/p>\n\n\n\n<p>Again, we need to do this one byte at a time.  Remember, this is a register we increment, and not a value in memory.  Keep in mind that registers simply point to memory locations (usually).<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>MYMEMORY: EQU  82FFH \nBREAK:    EQU  2756H\nRF        EQU  15\n\n          \n          ORG  8000H\n          LOAD RF, MYMEMORY  ; load 82FFH (location) into register RF.\n    \n          GLO  RF   ;Get low value of RF\n          ADI  01H  ;Add 1 (Carry will set)\n          PLO  RF   ;store low byte back to RF \n          GHI  RF   ;Get the high byte of RF\n          ADCI 00H  ;Add zero + Carry\n          PHI  RF   ;Store high byte back to RF\n          LBR  BREAK  ;Break routine in ROM\n          END\n          <\/code><\/pre>\n\n\n\n<p>Experiment with this logic, and try some different values.  These are important instructions to understand for most any program you will be writing.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Summary of COSMAC 1802 Addition Instructions<\/h2>\n\n\n\n<p>In short, there are 4 instructions.  ADD will add the accumulator to a value specified in a register that is specified in X.   Similarly, ADCI will add the value of a memory location in the same way.  It just includes the carry (DF) bit.<\/p>\n\n\n\n<p>The ADI simply adds a static (immediate) value to the accumulator, while ADCI also looks at the carry bit.<\/p>\n\n\n\n<p>For more information, please visit the <a href=\"https:\/\/bryceautomation.com\/index.php\/category\/vintage-computers\/cosmac\/\">category page for the COSMAC 1802!<\/a><\/p>\n\n\n\n<p>&#8212; Ricky Bryce<\/p>\n<div id=\"bryce-1680927921\" class=\"bryce-after-content bryce-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-8316758073402323\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-8316758073402323\" \ndata-ad-slot=\"4667596182\" \ndata-ad-format=\"auto\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Introduction to the COSMAC 1802 Addition Instructions There are four COSMAC 1802 Addition Instructions: ADD, ADI, ADC, and ADCI. In this section we&#8217;ll take a closer look at each one of these instructions. Basically, the ADD statement will add a memory location to the value in the accumulator. The ADI is for immediate values. With <a class=\"moretag btn btn-primary\" href=\"https:\/\/bryceautomation.com\/index.php\/2022\/11\/05\/cosmac-1802-addition-instructions\/\">Read More \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":14230,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[821,727],"tags":[847,848,845,846],"class_list":{"0":"post-14219","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-cosmac","8":"category-vintage-computers","9":"tag-adc","10":"tag-adci","11":"tag-add","12":"tag-adi","13":"czr-hentry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>COSMAC 1802 Addition Instructions - Bryce Automation<\/title>\n<meta name=\"description\" content=\"Working with the COSMAC 1802 Addition Instructions. This includes ADD, ADI, ADC, and ADCI, and we&#039;ll look at actual examples.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/bryceautomation.com\/index.php\/2022\/11\/05\/cosmac-1802-addition-instructions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"COSMAC 1802 Addition Instructions - Bryce Automation\" \/>\n<meta property=\"og:description\" content=\"Working with the COSMAC 1802 Addition Instructions. This includes ADD, ADI, ADC, and ADCI, and we&#039;ll look at actual examples.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bryceautomation.com\/index.php\/2022\/11\/05\/cosmac-1802-addition-instructions\/\" \/>\n<meta property=\"og:site_name\" content=\"Bryce Automation\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/ricky.bryce.7\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-05T09:17:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-05T09:17:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/11\/Assembler.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1252\" \/>\n\t<meta property=\"og:image:height\" content=\"841\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ricky\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2022\\\/11\\\/05\\\/cosmac-1802-addition-instructions\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2022\\\/11\\\/05\\\/cosmac-1802-addition-instructions\\\/\"},\"author\":{\"name\":\"Ricky\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#\\\/schema\\\/person\\\/5d5b0f6f6ad768f1ee52968338e63af7\"},\"headline\":\"COSMAC 1802 Addition Instructions\",\"datePublished\":\"2022-11-05T09:17:38+00:00\",\"dateModified\":\"2022-11-05T09:17:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2022\\\/11\\\/05\\\/cosmac-1802-addition-instructions\\\/\"},\"wordCount\":822,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2022\\\/11\\\/05\\\/cosmac-1802-addition-instructions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/Assembler.png\",\"keywords\":[\"ADC\",\"ADCI\",\"ADD\",\"ADI\"],\"articleSection\":[\"COSMAC\",\"Vintage Computers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2022\\\/11\\\/05\\\/cosmac-1802-addition-instructions\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2022\\\/11\\\/05\\\/cosmac-1802-addition-instructions\\\/\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2022\\\/11\\\/05\\\/cosmac-1802-addition-instructions\\\/\",\"name\":\"COSMAC 1802 Addition Instructions - Bryce Automation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2022\\\/11\\\/05\\\/cosmac-1802-addition-instructions\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2022\\\/11\\\/05\\\/cosmac-1802-addition-instructions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/Assembler.png\",\"datePublished\":\"2022-11-05T09:17:38+00:00\",\"dateModified\":\"2022-11-05T09:17:41+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#\\\/schema\\\/person\\\/5d5b0f6f6ad768f1ee52968338e63af7\"},\"description\":\"Working with the COSMAC 1802 Addition Instructions. This includes ADD, ADI, ADC, and ADCI, and we'll look at actual examples.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2022\\\/11\\\/05\\\/cosmac-1802-addition-instructions\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2022\\\/11\\\/05\\\/cosmac-1802-addition-instructions\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2022\\\/11\\\/05\\\/cosmac-1802-addition-instructions\\\/#primaryimage\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/Assembler.png\",\"contentUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/Assembler.png\",\"width\":1252,\"height\":841,\"caption\":\"COSMAC 1802 Addition Instructions\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2022\\\/11\\\/05\\\/cosmac-1802-addition-instructions\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bryceautomation.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"COSMAC 1802 Addition Instructions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#website\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/\",\"name\":\"Bryce Automation\",\"description\":\"Automating Home and Industry...\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/bryceautomation.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#\\\/schema\\\/person\\\/5d5b0f6f6ad768f1ee52968338e63af7\",\"name\":\"Ricky\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/wphb-cache\\\/gravatar\\\/a8f\\\/a8fe6bf79d292b388ffee281ccb12488x96.jpg\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/wphb-cache\\\/gravatar\\\/a8f\\\/a8fe6bf79d292b388ffee281ccb12488x96.jpg\",\"contentUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/wphb-cache\\\/gravatar\\\/a8f\\\/a8fe6bf79d292b388ffee281ccb12488x96.jpg\",\"caption\":\"Ricky\"},\"sameAs\":[\"http:\\\/\\\/bryceautomation.com\",\"https:\\\/\\\/www.facebook.com\\\/ricky.bryce.7\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/ricky-bryce-4367a416\\\/\"],\"url\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/author\\\/ricky\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"COSMAC 1802 Addition Instructions - Bryce Automation","description":"Working with the COSMAC 1802 Addition Instructions. This includes ADD, ADI, ADC, and ADCI, and we'll look at actual examples.","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":"https:\/\/bryceautomation.com\/index.php\/2022\/11\/05\/cosmac-1802-addition-instructions\/","og_locale":"en_US","og_type":"article","og_title":"COSMAC 1802 Addition Instructions - Bryce Automation","og_description":"Working with the COSMAC 1802 Addition Instructions. This includes ADD, ADI, ADC, and ADCI, and we'll look at actual examples.","og_url":"https:\/\/bryceautomation.com\/index.php\/2022\/11\/05\/cosmac-1802-addition-instructions\/","og_site_name":"Bryce Automation","article_author":"https:\/\/www.facebook.com\/ricky.bryce.7","article_published_time":"2022-11-05T09:17:38+00:00","article_modified_time":"2022-11-05T09:17:41+00:00","og_image":[{"width":1252,"height":841,"url":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/11\/Assembler.png","type":"image\/png"}],"author":"Ricky","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/bryceautomation.com\/index.php\/2022\/11\/05\/cosmac-1802-addition-instructions\/#article","isPartOf":{"@id":"https:\/\/bryceautomation.com\/index.php\/2022\/11\/05\/cosmac-1802-addition-instructions\/"},"author":{"name":"Ricky","@id":"https:\/\/bryceautomation.com\/#\/schema\/person\/5d5b0f6f6ad768f1ee52968338e63af7"},"headline":"COSMAC 1802 Addition Instructions","datePublished":"2022-11-05T09:17:38+00:00","dateModified":"2022-11-05T09:17:41+00:00","mainEntityOfPage":{"@id":"https:\/\/bryceautomation.com\/index.php\/2022\/11\/05\/cosmac-1802-addition-instructions\/"},"wordCount":822,"commentCount":0,"image":{"@id":"https:\/\/bryceautomation.com\/index.php\/2022\/11\/05\/cosmac-1802-addition-instructions\/#primaryimage"},"thumbnailUrl":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/11\/Assembler.png","keywords":["ADC","ADCI","ADD","ADI"],"articleSection":["COSMAC","Vintage Computers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/bryceautomation.com\/index.php\/2022\/11\/05\/cosmac-1802-addition-instructions\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/bryceautomation.com\/index.php\/2022\/11\/05\/cosmac-1802-addition-instructions\/","url":"https:\/\/bryceautomation.com\/index.php\/2022\/11\/05\/cosmac-1802-addition-instructions\/","name":"COSMAC 1802 Addition Instructions - Bryce Automation","isPartOf":{"@id":"https:\/\/bryceautomation.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/bryceautomation.com\/index.php\/2022\/11\/05\/cosmac-1802-addition-instructions\/#primaryimage"},"image":{"@id":"https:\/\/bryceautomation.com\/index.php\/2022\/11\/05\/cosmac-1802-addition-instructions\/#primaryimage"},"thumbnailUrl":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/11\/Assembler.png","datePublished":"2022-11-05T09:17:38+00:00","dateModified":"2022-11-05T09:17:41+00:00","author":{"@id":"https:\/\/bryceautomation.com\/#\/schema\/person\/5d5b0f6f6ad768f1ee52968338e63af7"},"description":"Working with the COSMAC 1802 Addition Instructions. This includes ADD, ADI, ADC, and ADCI, and we'll look at actual examples.","breadcrumb":{"@id":"https:\/\/bryceautomation.com\/index.php\/2022\/11\/05\/cosmac-1802-addition-instructions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bryceautomation.com\/index.php\/2022\/11\/05\/cosmac-1802-addition-instructions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bryceautomation.com\/index.php\/2022\/11\/05\/cosmac-1802-addition-instructions\/#primaryimage","url":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/11\/Assembler.png","contentUrl":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/11\/Assembler.png","width":1252,"height":841,"caption":"COSMAC 1802 Addition Instructions"},{"@type":"BreadcrumbList","@id":"https:\/\/bryceautomation.com\/index.php\/2022\/11\/05\/cosmac-1802-addition-instructions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bryceautomation.com\/"},{"@type":"ListItem","position":2,"name":"COSMAC 1802 Addition Instructions"}]},{"@type":"WebSite","@id":"https:\/\/bryceautomation.com\/#website","url":"https:\/\/bryceautomation.com\/","name":"Bryce Automation","description":"Automating Home and Industry...","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bryceautomation.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/bryceautomation.com\/#\/schema\/person\/5d5b0f6f6ad768f1ee52968338e63af7","name":"Ricky","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bryceautomation.com\/wp-content\/wphb-cache\/gravatar\/a8f\/a8fe6bf79d292b388ffee281ccb12488x96.jpg","url":"https:\/\/bryceautomation.com\/wp-content\/wphb-cache\/gravatar\/a8f\/a8fe6bf79d292b388ffee281ccb12488x96.jpg","contentUrl":"https:\/\/bryceautomation.com\/wp-content\/wphb-cache\/gravatar\/a8f\/a8fe6bf79d292b388ffee281ccb12488x96.jpg","caption":"Ricky"},"sameAs":["http:\/\/bryceautomation.com","https:\/\/www.facebook.com\/ricky.bryce.7","https:\/\/www.linkedin.com\/in\/ricky-bryce-4367a416\/"],"url":"https:\/\/bryceautomation.com\/index.php\/author\/ricky\/"}]}},"_links":{"self":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/posts\/14219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/comments?post=14219"}],"version-history":[{"count":0,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/posts\/14219\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/media\/14230"}],"wp:attachment":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/media?parent=14219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/categories?post=14219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/tags?post=14219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}