--- title: "Machine Code Topics: How to Write Relocatable Z80 Code" type: "article" slug: "machine-code-topics-how-to-write-relocatable-z80-code" url: "http://localhost/article/machine-code-topics-how-to-write-relocatable-z80-code/" markdown_url: "http://localhost/article/machine-code-topics-how-to-write-relocatable-z80-code.md" published_at: "2020-10-27T17:09:31+00:00" modified_at: "2024-06-23T21:38:33+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "Relocatable code will execute, without modification, when placed at any available address. The techniques to make code completely relocatable are the subject of this article." category: - name: "SyncWare News" slug: "syncware-news" taxonomy: "category" url: "http://localhost/category/periodicals/syncware-news/" post_tag: - name: "1984" slug: "year-1984" taxonomy: "post_tag" url: "http://localhost/tag/year-1984/" - name: "Machine language programming" slug: "machine-language" taxonomy: "post_tag" url: "http://localhost/tag/machine-language/" - name: "TS 1000" slug: "ts1000" taxonomy: "post_tag" url: "http://localhost/tag/ts1000/" - name: "Tutorial" slug: "tutorial" taxonomy: "post_tag" url: "http://localhost/tag/tutorial/" - name: "Type-in program" slug: "type-in-program" taxonomy: "post_tag" url: "http://localhost/tag/type-in-program/" model: - name: "Timex/Sinclair 1000" slug: "ts-1000" taxonomy: "model" url: "http://localhost/model/ts-1000/" indiv: - name: "Peter Hoffman" slug: "peter-hoffman" taxonomy: "indiv" url: "http://localhost/indiv/peter-hoffman/" publication: "SyncWare News" publication_r: id: 10245 title: "SyncWare News" type: "periodical" url: "http://localhost/periodical/syncware-news/" authors: "Peter Hoffman" volume: "2" issue: "2" issues_articles: - id: 26681 title: "SyncWare News v2 n2" type: "issue" url: "http://localhost/issue/syncware-news-v2-n2/" pages: "15-16" pubdate: "Nov-Dec 1984" archive_link: false volumeissue: "v2n2" --- # Machine Code Topics: How to Write Relocatable Z80 Code Relocatable code will execute, without modification, when placed at any available address. The techniques to make code completely relocatable are the subject of this article.