--- title: "Mike’s Notebook: BITS" type: "article" slug: "mikes-notebook-15" url: "http://localhost/article/mikes-notebook-15/" markdown_url: "http://localhost/article/mikes-notebook-15.md" published_at: "2022-10-07T12:24:57+00:00" modified_at: "2024-05-26T13:02:57+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "Knowing the bit patterns of a specific byte can also help to better understand machine code among the many other uses. The following BASIC program will print out all 256 bit patterns, their hexadecimal and decimal equivalent." category: - name: "The Plotter" slug: "the-plotter" taxonomy: "category" url: "http://localhost/category/periodicals/the-plotter/" post_tag: - name: "Best of Timex/Sinclair 2068 Articles and Documents" slug: "ts2068best" taxonomy: "post_tag" url: "http://localhost/tag/ts2068best/" - 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/" indiv: - name: "Michael DiRienzo" slug: "michael-dirienzo" taxonomy: "indiv" url: "http://localhost/indiv/michael-dirienzo/" publication_r: id: 21216 title: "The Plotter" type: "periodical" url: "http://localhost/periodical/the-plotter/" authors: "Michael DiRienzo" volume: "8" issue: "7-8" issues_articles: - id: 39499 title: "The Plotter v8 n7-8" type: "issue" url: "http://localhost/issue/the-plotter-v8-n7-8/" pages: "2-3" pubdate: "July - August 1990" archive_link: false --- # Mike’s Notebook: BITS Knowing the bit patterns of a specific byte can also help to better understand machine code among the many other uses. The following BASIC program will print out all 256 bit patterns, their hexadecimal and decimal equivalent.