--- title: "Loading Registers with Data (Part 4)" type: "article" slug: "loading-registers-with-data-part-4" url: "http://localhost/article/loading-registers-with-data-part-4/" markdown_url: "http://localhost/article/loading-registers-with-data-part-4.md" published_at: "2026-03-13T00:30:26+00:00" modified_at: "2026-03-13T00:30:27+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "Fourth installment of the machine code programming series, covering Z80 load instructions: loading immediate data into registers (LD B,6), loading from memory via register pair (LD A,(HL)), and working with numbers greater than 255 using register pairs. Includes a worked example of adding 1000 and 450 in machine code." category: - name: "Syntax" slug: "syntax" taxonomy: "category" url: "http://localhost/category/periodicals/syntax/" post_tag: - 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/" model: - name: "Sinclair ZX80" slug: "zx80" taxonomy: "model" url: "http://localhost/model/zx80/" - name: "Timex/Sinclair 1000" slug: "ts-1000" taxonomy: "model" url: "http://localhost/model/ts-1000/" indiv: - name: "Jonathan Bobst" slug: "bobst-jonathan" taxonomy: "indiv" url: "http://localhost/indiv/bobst-jonathan/" publication_r: id: 10246 title: "Syntax" type: "periodical" url: "http://localhost/periodical/syntax/" authors_r: - name: "Jonathan Bobst" slug: "bobst-jonathan" taxonomy: "indiv" url: "http://localhost/indiv/bobst-jonathan/" volume: "3" issue: "4" issues_articles: - id: 52478 title: "Syntax/Syntax ZX80 v3 n4" type: "issue" url: "http://localhost/issue/syntax-syntax-zx80-v3-n4/" pages: "14" pubdate: "April 1982" archive_link: false --- # Loading Registers with Data (Part 4) Fourth installment of the machine code programming series, covering Z80 load instructions: loading immediate data into registers (LD B,6), loading from memory via register pair (LD A,(HL)), and working with numbers greater than 255 using register pairs. Includes a worked example of adding 1000 and 450 in machine code.