ZMAC
1 program
Added 2026-03-06T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: Z80 Macro Assembler
Provenance: commit 62823a476f · authored 2026-03-06T00:54:37+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Hello World
Provenance: commit 62823a476f · authored 2026-03-06T00:54:37+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
; Hello World for CP/M using ZMAC assembler
; Demonstrates ZMAC macro definition and usage
BDOS EQU 5 ; CP/M BDOS entry point
PSTRING EQU 9 ; Print string function
; Macro to call a BDOS function with a DE argument
BDOSCALL MACRO FN, ARG
LD C, FN
LD DE, ARG
CALL BDOS
ENDM
ORG 100H ; CP/M TPA start address
START:
BDOSCALL PSTRING, HELLO
RET ; Return to CP/M
HELLO: DEFM 'Hello, World!'
DEFB 13, 10, '$' ; CR, LF, string terminator
END START