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)
LLM (this repo) · 1

Related languages

MASM (0.41)QMASM (0.40)VAX MACRO (0.40)TASM (0.31)Jasmin (0.29)

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
code.asm · added: 2026-03-06T10:00:00Z
; 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

Contribute — propose a file extension

Tell us where to find evidence about ZMAC (mapped to pl/zmac). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/ZMAC/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← zlang Zmodel →