--- title: "Machine Language Storage in REM" type: "article" slug: "machine-language-storage-in-rem" url: "http://localhost/article/machine-language-storage-in-rem/" markdown_url: "http://localhost/article/machine-language-storage-in-rem.md" published_at: "2020-10-27T21:19:00+00:00" modified_at: "2024-06-23T07:49:28+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "When a series of consecutive REM statements is to be used to provide storage for machine language the leading four bytes of the second and subsequent REMs cannot simply be overwritten. Your machine language program would almost certainly crash. The solution is relatively simple. Change the byte count of the first REM statement to include…" category: - name: "SYNC" slug: "sync" taxonomy: "category" url: "http://localhost/category/periodicals/sync/" post_tag: - name: "1983" slug: "year-1983" taxonomy: "post_tag" url: "http://localhost/tag/year-1983/" - name: "Machine language programming" slug: "machine-language" taxonomy: "post_tag" url: "http://localhost/tag/machine-language/" - name: "Tutorial" slug: "tutorial" taxonomy: "post_tag" url: "http://localhost/tag/tutorial/" - name: "ZX81" slug: "zx81" taxonomy: "post_tag" url: "http://localhost/tag/zx81/" model: - name: "Sinclair ZX81" slug: "zx81" taxonomy: "model" url: "http://localhost/model/zx81/" indiv: - name: "Jasper Kump" slug: "jasper-kump" taxonomy: "indiv" url: "http://localhost/indiv/jasper-kump/" publication: "Sync" publication_r: id: 10243 title: "SYNC" type: "periodical" url: "http://localhost/periodical/sync-magazine/" authors: "Jasper Kump" volume: "3" issue: "2" issues_articles: - id: 26648 title: "SYNC v3 n2" type: "issue" url: "http://localhost/issue/sync-v3-n2/" pages: "60" pubdate: "March/April 1983" archive_link: false volumeissue: "v3n2" --- # Machine Language Storage in REM When a series of consecutive REM statements is to be used to provide storage for machine language the leading four bytes of the second and subsequent REMs cannot simply be overwritten. Your machine language program would almost certainly crash. The solution is relatively simple. Change the byte count of the first REM statement to include the byte count of all of the REM statements to be used for machine language storage.