Skip to content

maziac/z80-instruction-set

Repository files navigation

Support

If you like "Z80 Instruction Set" please consider supporting it.

  

Z80 Instruction Set

This is a hover provider for vscode. I.e. if you hover over a Z80 instruction (e.g. "LD A,5") the opcode and a description for the instruction is displayed.

Note: It does also show the opcodes for the Z80N instructions (ZX Spectrum Next).

Installation

Install through Visual Studio Code Marketplace. The extension is called "Z80 Instruction Set".

Configuration

  • "z80-instruction-set.enableHovering": Enable/disable the hovering. I.e. enable/disable the extension.
  • "z80-instruction-set.z80Link": Link to Z80 documentation. You can change this e.g. to point to some other html documentation. This simply adds a link to all instruction to make it easier to open external documentation if the hover information is not sufficient. Use an empty string "" to disable.

Misc

To view all instructions open the command palette (press F1) and enter "Show all Z80 instructions". A WebView opens with the instructions.

To search the instructions press "CTRL-F".

Hovers in Debug Mode

vscode turns the normal hovers off if in debug mode. To make them visible press the "ALT" key while hovering.

Acknowledgememts

Main parts of the code (the z80 instruction decoding) has been taken from theNuestro's z80-asm-code-meter which is licensed under LGPL-3.0.

About

Shows the Z80 opcode when hovering over an instruction.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •