{"id":3591,"date":"2025-04-21T04:38:24","date_gmt":"2025-04-21T04:38:24","guid":{"rendered":"https:\/\/webprojects.cloud\/wordpress\/splatco\/?post_type=spl_knowledgebase&#038;p=3591"},"modified":"2025-06-10T11:58:49","modified_gmt":"2025-06-10T11:58:49","slug":"example-identifying-spicex-outputs","status":"publish","type":"spl_knowledgebase","link":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-using-spicex-for-large-i-o-counts\/spicex-programming-examples\/example-identifying-spicex-outputs\/","title":{"rendered":"Example: Identifying SPiceX outputs"},"content":{"rendered":"\n<p>This example program is handy for familiarizing yourself with the mapping of the\u00a0<a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/glossary-of-terms\/#o368\">SPiceX<\/a>\u00a0outputs.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">;IDENTOUT.SPT : Sample program to identify which outputs get<br>;activated from which bytes\/bits of U when using the<br>;SPxTxfr instruction.<br><br>;The program sends (up to) the first 8 bytes of <a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/glossary-of-terms\/#o414\">RAM<\/a><br>;out to a chain of (say) XBIO16 boards. Byte 0 is counted<br>;up in binary. The other bytes are statically preloaded<br>;with their own address, i.e. byte 5 contains binary 5.<br><br>********************************************************************<br>;Set the following constant to reflect the number of bytes of <br>;data being shifted out.<br>;<br>;       XBIO16          2 bytes<br>;       MBIO16          2 bytes<br>;       XIRO16          1 byte<br>;       HIO16           1 byte<br>;       FP16            1 byte<br><br><br>ShiftLength     EQU             8       ;Minium 5 with standard expansion boards!<br><br>**** NOTE ****<br>;SPiceX mode works only with standard XPice expansion boards when<br>;there is more than 5 bytes of data. For less than that the<br>;automatic detection will sense the boards and map them as<br>;regular I\/O. <br>;With custom expansion boards it may work with fewer than 5 bytes,<br>;depending on the design of the board. Please consult the board documentation<br>****************************************************************<br><br>                SPxMode         6<br>                SetMem          0,0             ;Pre-load RAM images<br>                SetMem          1,1<br>                SetMem          2,2<br>                SetMem          3,3<br>                SetMem          4,4<br>                SetMem          5,5<br>                SetMem          6,6<br>                SetMem          7,7<br><br>                SetV            ShiftLength<br>A               MemToUV         0,0             ;Transfer V bytes from RAM to U<br><br>                SPxTxFrU        0               ;Send it out<br>                Pause           10<br>                IncM            0               ;Increment counter<br>                GoTo            A<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This example program is handy for familiarizing yourself with the mapping of the\u00a0SPiceX\u00a0outputs. ;IDENTOUT.SPT : Sample program to identify which outputs get;activated from which bytes\/bits&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":3590,"menu_order":0,"template":"","class_list":["post-3591","spl_knowledgebase","type-spl_knowledgebase","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Example: Identifying SPiceX outputs - SPLat Controls<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Example: Identifying SPiceX outputs - SPLat Controls\" \/>\n<meta property=\"og:description\" content=\"This example program is handy for familiarizing yourself with the mapping of the\u00a0SPiceX\u00a0outputs. ;IDENTOUT.SPT : Sample program to identify which outputs get;activated from which bytes\/bits...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-using-spicex-for-large-i-o-counts\/spicex-programming-examples\/example-identifying-spicex-outputs\/\" \/>\n<meta property=\"og:site_name\" content=\"SPLat Controls\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-10T11:58:49+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-using-spicex-for-large-i-o-counts\/spicex-programming-examples\/example-identifying-spicex-outputs\/\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-using-spicex-for-large-i-o-counts\/spicex-programming-examples\/example-identifying-spicex-outputs\/\",\"name\":\"Example: Identifying SPiceX outputs - SPLat Controls\",\"isPartOf\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website\"},\"datePublished\":\"2025-04-21T04:38:24+00:00\",\"dateModified\":\"2025-06-10T11:58:49+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-using-spicex-for-large-i-o-counts\/spicex-programming-examples\/example-identifying-spicex-outputs\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-using-spicex-for-large-i-o-counts\/spicex-programming-examples\/example-identifying-spicex-outputs\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-using-spicex-for-large-i-o-counts\/spicex-programming-examples\/example-identifying-spicex-outputs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tutorials, application notes and white papers\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Tutorial: Using SPiceX for large I\/O counts\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-using-spicex-for-large-i-o-counts\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"SPiceX: Programming examples\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-using-spicex-for-large-i-o-counts\/spicex-programming-examples\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Example: Identifying SPiceX outputs\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/\",\"name\":\"SPLat Controls\",\"description\":\"OEM Embedded Machine Controllers\",\"publisher\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#organization\",\"name\":\"SPLat Controls\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2024\/10\/logo.svg\",\"contentUrl\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2024\/10\/logo.svg\",\"caption\":\"SPLat Controls\"},\"image\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Example: Identifying SPiceX outputs - SPLat Controls","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Example: Identifying SPiceX outputs - SPLat Controls","og_description":"This example program is handy for familiarizing yourself with the mapping of the\u00a0SPiceX\u00a0outputs. ;IDENTOUT.SPT : Sample program to identify which outputs get;activated from which bytes\/bits...","og_url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-using-spicex-for-large-i-o-counts\/spicex-programming-examples\/example-identifying-spicex-outputs\/","og_site_name":"SPLat Controls","article_modified_time":"2025-06-10T11:58:49+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-using-spicex-for-large-i-o-counts\/spicex-programming-examples\/example-identifying-spicex-outputs\/","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-using-spicex-for-large-i-o-counts\/spicex-programming-examples\/example-identifying-spicex-outputs\/","name":"Example: Identifying SPiceX outputs - SPLat Controls","isPartOf":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website"},"datePublished":"2025-04-21T04:38:24+00:00","dateModified":"2025-06-10T11:58:49+00:00","breadcrumb":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-using-spicex-for-large-i-o-counts\/spicex-programming-examples\/example-identifying-spicex-outputs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-using-spicex-for-large-i-o-counts\/spicex-programming-examples\/example-identifying-spicex-outputs\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-using-spicex-for-large-i-o-counts\/spicex-programming-examples\/example-identifying-spicex-outputs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/"},{"@type":"ListItem","position":2,"name":"Tutorials, application notes and white papers","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/"},{"@type":"ListItem","position":3,"name":"Tutorial: Using SPiceX for large I\/O counts","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-using-spicex-for-large-i-o-counts\/"},{"@type":"ListItem","position":4,"name":"SPiceX: Programming examples","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-using-spicex-for-large-i-o-counts\/spicex-programming-examples\/"},{"@type":"ListItem","position":5,"name":"Example: Identifying SPiceX outputs"}]},{"@type":"WebSite","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/","name":"SPLat Controls","description":"OEM Embedded Machine Controllers","publisher":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webprojects.cloud\/wordpress\/splatco\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#organization","name":"SPLat Controls","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#\/schema\/logo\/image\/","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2024\/10\/logo.svg","contentUrl":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2024\/10\/logo.svg","caption":"SPLat Controls"},"image":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/spl_knowledgebase\/3591","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/spl_knowledgebase"}],"about":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/types\/spl_knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/users\/1"}],"up":[{"embeddable":true,"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/spl_knowledgebase\/3590"}],"wp:attachment":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/media?parent=3591"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}