Skip to content

Commit

Permalink
Hello world for MACRO-10.
Browse files Browse the repository at this point in the history
  • Loading branch information
larsbrinkhoff committed Sep 6, 2023
1 parent 2be5409 commit 2480b48
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/hello/hello.mac
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
TITLE HELLO WORLD

;Hello world example for MACRO-10, for running under DECUUO.

;To assemble, type
; :cwd hello
; :macro
; *hello=hello.mac
; *^C
;To link and dump a DECUUO program, type
; :dec sys:loader
; *hello/g
; *45$g
; Command: dump
; *:pdump ts hello

SEARCH UUOSYM

START: RESET
OUTSTR [ASCIZ /HELLO TOPS-10/]
EXIT 1,
JRST START

END START

0 comments on commit 2480b48

Please sign in to comment.