;;; -*-asm-*- ;;; (c) 2021 Mark Wooding ;;;----- Licensing notice --------------------------------------------------- ;;; ;;; This file is part of ZX Fizzbuzz. ;;; ;;; ZX Fizzbuzz is free software: you can redistribute it and/or modify it ;;; under the terms of the GNU Lesser General Public License as published ;;; by the Free Software Foundation; either version 3 of the License, or ;;; (at your option) any later version. ;;; ;;; ZX Fizzbuzz is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;;; Lesser General Public License for more details. ;;; ;;; You should have received a copy of the GNU Lesser General Public ;;; License along with ZX Fizzbuzz. If not, see ;;; . org 0x4300 spc: equ 0x76 fixdig: macro add a, 0x1c endm print_a: macro rst 0x10 endm endstr: equ 0x7a endstrp: macro cp endstr endm jr begin fizz: db 0x2b, 0x2e, 0x3f, 0x3f, endstr buzz: db 0x27, 0x3a, 0x3f, 0x3f, endstr begin: