--- title: "LDIR Demonstration Program" type: "article" slug: "ldir-demonstration-program" url: "http://localhost/article/ldir-demonstration-program/" markdown_url: "http://localhost/article/ldir-demonstration-program.md" published_at: "2026-01-19T12:28:50+00:00" modified_at: "2026-01-19T12:29:25+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "I'm enclosing an article I wrote for S.U.N. last year which never got published. Feel free to doctor it or use it in any way you like. As we have all heard many times, machine language is good for doing things much much faster than BASIC. If any of you have wondered just what real…" category: - name: "Triangle Sinclair Users Group Newsletter" slug: "triangle-sinclair-users-group-newsletter" taxonomy: "category" url: "http://localhost/category/periodicals/triangle-sinclair-users-group-newsletter/" post_tag: - name: "Machine language programming" slug: "machine-language" taxonomy: "post_tag" url: "http://localhost/tag/machine-language/" - name: "TS 2068" slug: "ts2068" taxonomy: "post_tag" url: "http://localhost/tag/ts2068/" - name: "Type-in program" slug: "type-in-program" taxonomy: "post_tag" url: "http://localhost/tag/type-in-program/" model: - name: "Timex/Sinclair 2068" slug: "ts-2068" taxonomy: "model" url: "http://localhost/model/ts-2068/" publication_r: id: 21575 title: "Triangle Sinclair Users Group" type: "periodical" url: "http://localhost/periodical/triangle-sinclair-users-group/" volume: "2" issue: "4" issues_articles: - id: 53324 title: "Triangle Sinclair Users Group v2 n4 pt2" type: "issue" url: "http://localhost/issue/triangle-sinclair-users-group-v2-n4-2/" pages: "3-4" pubdate: "April 1984" archive_link: false --- # LDIR Demonstration Program I’m enclosing an article I wrote for S.U.N. last year which never got published. Feel free to doctor it or use it in any way you like. As we have all heard many times, machine language is good for doing things much much faster than BASIC. If any of you have wondered just what real applications it might apply to here is a very useful application of a machine subroutine. The routine is based on a Z80 instruction call LDIR.