Z80 Z80 Programming tips and code fragments
 MDFS::Info.Comp.Z80.ProgTips Search  
Bit and flag manipulation
BitManip Copying, clearing and setting bits
 
Conversions and calculations
SqRoot 
SqRootTest (L
Calculate integer Square Root
Integer Square Root BASIC source and test code
Multiply8  8-bit constant multiply code
Multiply16  16-bit constant multiply code
 
Calls and Jumps
CallHL Code for CALL (HL) and LD HL,PC
Indirect Indirect jumps and calls
Z80IM2  Using Z80 Interupt Mode 2
 
Displaying numbers
PrNumber Printing 8-bit numbers in hex and decimal
 
CRC calculation
CRC-8 Calculating 8-bit CRCs
CRC16  Calculating 16-bit CRCs for XMODEM and Acorn CFS/RFS
CRC32  Calculating 32-bit CRCs for ZIP files
 
Programs and tools
BBCBasic  BBC BASIC for the Z80
DisAssem  BBC BASIC Z80 disassembler
ZMac  ZMac Z80 assembler

Best viewed with Any Browser Valid HTML 4.0! Authored by J.G.Harston
Last update: 26-Jun-2011