GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - agn453/ZEXALL: A Z80 Instruction Set Exerciser for CP/M-80

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitattributes
.gitattributes
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
zexall.com
zexall.com
 
 
zexall.mac
zexall.mac
 
 
zexall.z80
zexall.z80
 
 
zexdoc.com
zexdoc.com
 
 
zexdoc.mac
zexdoc.mac
 
 
zexdoc.z80
zexdoc.z80
 
 
zexlax.pl
zexlax.pl
 
 

Repository files navigation

ZEXALL

A Z80 Instruction Set Exerciser for CP/M-80

The ZEXDOC and ZEXALL programs by Frank D. Cringle are for testing the Zilog Z80 CPU. There are two versions - one tests by using the documented flags (zexdoc.com) and the other one tests by checking both the documented and undocumented flags (zexall.com).

The Flag bits are -

bit    7    6    5    4    3    2   1   0
       S    Z    x    H    x   P/V  N   C

where
       C = carry flag
       N = add/subtract flag
     P/V = parity/overflow flag
       H = half carry flag
       Z = zero flag
       S = sign flag

The flag bits marked x above are the undocumented flags. There's a summary of how the Z80 flags are affected by each instruction (including the undocumented ones) at http://www.z80.info/z80sflag.htm

The exercisers can be run on a real Zilog Z80 8-bit CPU or to verify operation under an emulator. Both binaries can be run under one of the Digital Research's CP/M-80 operating systems (CP/M 2.2, CP/M 3 etc).

These programs (and their source-code in Z80 assembler) were extracted from the final version of the YAZE-AG (Yet Another Z80 Emulator) version 2.51.3 curated by Andreas Gerlich at

https://agl.yaze-ag.de/

They are licensed under the GNU General Public License v2.0.

Updates

  • Add modified source-code that can be assembled using Hector Peraza's ZSM4 Z80 Macro Assembler (see https://github.com/hperaza/ZSM4 for source, binaries and documentation). These source files have the .mac file type. Build these with commands like -
zsm4 =zexdoc/L
link zexdoc

About

A Z80 Instruction Set Exerciser for CP/M-80

Topics

cpmcpm22cpmplusinstruction-set-exerciserz80

Resources

Readme
GPL-2.0 license
Activity

Stars

20 stars

Watchers

3 watching

Forks

5 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.