{"id":5759,"date":"2023-12-08T09:50:37","date_gmt":"2023-12-08T08:50:37","guid":{"rendered":"https:\/\/msxitalia.org\/?p=5759"},"modified":"2023-12-08T15:29:26","modified_gmt":"2023-12-08T14:29:26","slug":"introduzione-alla-cpu-z80","status":"publish","type":"post","link":"https:\/\/msxitalia.org\/en\/introduzione-alla-cpu-z80\/","title":{"rendered":"Introduction to the Z80 CPU \u2013 handout 1"},"content":{"rendered":"<p>What you are about to read is a handout and certainly not a book and therefore does not claim to be exhaustive and self-sufficient. This can be accompanied by documentation that can be easily found both in paper and digital form. For the drafting of this handout, in addition to the obvious information that can be found online, I took extensive inspiration from the Z80 Programming in Assembly language manuals and the New Z80 manual. As with all my other articles I apologize for any inaccuracies. Enjoy the reading.<\/p>\n<p>The Z80 CPU was introduced to the market in early 1976 and quickly established itself as the most advanced performance microprocessor. At the time it was called the third generation processor. The Z80 exploited the software compatibility with the popular 8080. Although processors with superior arithmetic capabilities later arrived on the market, see for example 8088 (16bit internal bus, 8bit external bus), the Z80, thanks to its ecosystem, continued to carve out an excellent market share.<br \/>\nI remember that the Z80 family is made up of various peripheral chips:<\/p>\n<ul>\n<li>PIO parallel interface<\/li>\n<li>SIO serial interface<\/li>\n<li>Circuit for direct access to DMA memory<\/li>\n<li>CTC timing circuit<\/li>\n<\/ul>\n<p>At the center of everything remains the Z80 CPU which uses a set of 158 instructions, including the 78 already present in the 8080. The Z80 CPU is therefore fully compatible with the software written for the 8080 but is not pin to pin compatible. This was a design decision, as maintaining pin to pin compatibility would have somewhat compromised the microprocessor design.<\/p>\n<p>The Z80 has among its strong points:<\/p>\n<ul>\n<li>A wide repertoire of addressing modes, including relative and through index registers.<\/li>\n<li>Very powerful single instructions for processing data blocks.<\/li>\n<li>Simple and effective interrupt handling through a priority chain.<\/li>\n<li>Dynamic memory refresh signal managed directly by the CPU.<\/li>\n<\/ul>\n<p>Finally we remember that the Z80 has equipped numerous home computers, among which we can mention MSX, Spectrum, Alphatronic, SHARP etc.<\/p>\n<p>If you are interested you can find it here <a href=\"https:\/\/msxitalia.org\/en\/i-registri-della-cpu-z80\/\">second dispensation<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Questa che vi apprestate a leggere \u00e8 una dispensa e non certamente un libro e quindi non ha la pretesa di essere esaustiva e autosufficiente. Questa pu\u00f2 essere affiancata alla documentazione che \u00e8 possibile reperire facilmente sia in forma cartacea sia in forma digitale. Per la stesura di questa dispensa oltre alle ovvie informazioni che [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":5737,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[6,26],"tags":[],"dipi_cpt_category":[],"class_list":["post-5759","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hardware","category-z80"],"_links":{"self":[{"href":"https:\/\/msxitalia.org\/en\/wp-json\/wp\/v2\/posts\/5759","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/msxitalia.org\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/msxitalia.org\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/msxitalia.org\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/msxitalia.org\/en\/wp-json\/wp\/v2\/comments?post=5759"}],"version-history":[{"count":9,"href":"https:\/\/msxitalia.org\/en\/wp-json\/wp\/v2\/posts\/5759\/revisions"}],"predecessor-version":[{"id":5882,"href":"https:\/\/msxitalia.org\/en\/wp-json\/wp\/v2\/posts\/5759\/revisions\/5882"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/msxitalia.org\/en\/wp-json\/wp\/v2\/media\/5737"}],"wp:attachment":[{"href":"https:\/\/msxitalia.org\/en\/wp-json\/wp\/v2\/media?parent=5759"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/msxitalia.org\/en\/wp-json\/wp\/v2\/categories?post=5759"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/msxitalia.org\/en\/wp-json\/wp\/v2\/tags?post=5759"},{"taxonomy":"dipi_cpt_category","embeddable":true,"href":"https:\/\/msxitalia.org\/en\/wp-json\/wp\/v2\/dipi_cpt_category?post=5759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}