{"id":186,"date":"2022-02-09T20:12:22","date_gmt":"2022-02-10T01:12:22","guid":{"rendered":"https:\/\/paulcarbone.com\/50days\/?p=186"},"modified":"2022-02-09T20:12:22","modified_gmt":"2022-02-10T01:12:22","slug":"day-13-include-files","status":"publish","type":"post","link":"https:\/\/paulcarbone.com\/50days\/2022\/02\/09\/day-13-include-files\/","title":{"rendered":"Day 13: Include Files"},"content":{"rendered":"<p>Before I make a simple program to test the CTC, I&#8217;d like to learn how the assembler deals with multiple files.\u00a0 The simplest way is to use the INCLUDE pseudo-op:<br \/>\nINCLUDE\u00a0 &lt;FILENAME.EXT&gt; will simply open the .ext file and insert it at the location of the deceleration.\u00a0 Lets try it with yesterday&#8217;s HELLO example &#8211; we&#8217;ll move STROUT, CHOUT &amp; NEWLN to a file called CHARIO.EXT.<\/p>\n<p>So it compiles without error, but when I run it, I get<br \/>\n+++ BAD INT 00H: @0507[0044:D782:540A:0500:FEF4:EC20:11C6]<\/p>\n<p>Shit.\u00a0 The listing looks clean, so I really have no idea.\u00a0 Well, that was fun.<br \/>\nI&#8217;m gonna have a beer.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Before I make a simple program to test the CTC, I&#8217;d like to learn how the assembler deals with multiple files.\u00a0 The simplest way is to use the INCLUDE pseudo-op: INCLUDE\u00a0 &lt;FILENAME.EXT&gt; will simply open the .ext file and insert &hellip; <a href=\"https:\/\/paulcarbone.com\/50days\/2022\/02\/09\/day-13-include-files\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":""},"categories":[5],"tags":[],"class_list":["post-186","post","type-post","status-publish","format-standard","hentry","category-blinkinglights"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/paulcarbone.com\/50days\/wp-json\/wp\/v2\/posts\/186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/paulcarbone.com\/50days\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/paulcarbone.com\/50days\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/paulcarbone.com\/50days\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/paulcarbone.com\/50days\/wp-json\/wp\/v2\/comments?post=186"}],"version-history":[{"count":3,"href":"https:\/\/paulcarbone.com\/50days\/wp-json\/wp\/v2\/posts\/186\/revisions"}],"predecessor-version":[{"id":189,"href":"https:\/\/paulcarbone.com\/50days\/wp-json\/wp\/v2\/posts\/186\/revisions\/189"}],"wp:attachment":[{"href":"https:\/\/paulcarbone.com\/50days\/wp-json\/wp\/v2\/media?parent=186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/paulcarbone.com\/50days\/wp-json\/wp\/v2\/categories?post=186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/paulcarbone.com\/50days\/wp-json\/wp\/v2\/tags?post=186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}