Last active
November 11, 2022 09:38
-
-
Save kuninet/79e1ee43c78c739ff0a049e43f898625 to your computer and use it in GitHub Desktop.
CP/M Hello MSG sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; | |
; CP/M Hello サンプル | |
; | |
CPU Z80 | |
TARGET: equ "Z80" | |
BDOS EQU 5h | |
org 100h | |
START: | |
LD DE,MSG ; 文字列アドレス格納 | |
LD C,09h ; 文字列出力 | |
CALL BDOS | |
; | |
RET | |
; | |
MSG DB 'HELLO CP/M-80.$' | |
END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment