--- title: "Decimal to Hex and Back" type: "article" slug: "decimal-to-hex-and-back" url: "http://localhost/article/decimal-to-hex-and-back/" markdown_url: "http://localhost/article/decimal-to-hex-and-back.md" published_at: "2020-10-27T17:09:38+00:00" modified_at: "2024-05-26T13:21:18+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "Converting from hexadecimal to decimal number systems has been the bane of many an aspiring machine code programmer. This listing does the converting for you. When you RUN the program, a prompt asks you for a hex number. You can either type one in to get the decimal equivalent, or press ENTER to flip to…" category: - name: "SyncWare News" slug: "syncware-news" taxonomy: "category" url: "http://localhost/category/periodicals/syncware-news/" post_tag: - name: "Thomas B. Woods (company)" slug: "thomas-b-woods" taxonomy: "post_tag" url: "http://localhost/tag/thomas-b-woods/" - 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: "SyncWare News" publication_r: id: 10245 title: "SyncWare News" type: "periodical" url: "http://localhost/periodical/syncware-news/" authors: "Thomas B. Woods" volume: "2" issue: "2" issues_articles: - id: 26681 title: "SyncWare News v2 n2" type: "issue" url: "http://localhost/issue/syncware-news-v2-n2/" pages: "3" pubdate: "Nov-Dec 1984" archive_link: false volumeissue: "v2n2" companies_articles: - id: 11390 title: "Thomas B. Woods" type: "company" url: "http://localhost/company/thomas-b-woods/" --- # Decimal to Hex and Back Converting from hexadecimal to decimal number systems has been the bane of many an aspiring machine code programmer. This listing does the converting for you. When you RUN the program, a prompt asks you for a hex number. You can either type one in to get the decimal equivalent, or press ENTER to flip to the decimal to hex mode , where you can type in a base 10 number to get the hex form.