Sha256: ed5d55548ff2847b5c69eda646f45513f788006a4cd0d6b62aaa667cb9324134

Contents?: true

Size: 621 Bytes

Versions: 10

Compression:

Stored size: 621 Bytes

Contents

The original PL/M compiler does not recognise lower-case letters, hence the Hello, World! string must specify the ASCII codes for the lower-case letters.
100H:
   /* CP/M BDOS SYSTEM CALL */
   BDOS: PROCEDURE( FN, ARG ); DECLARE FN BYTE, ARG ADDRESS; GOTO 5; END;
   /* PRINT A $ TERMINATED STRING */
   PRINT$STRING: PROCEDURE( S ); DECLARE S ADDRESS; CALL BDOS( 9, S ); END;
   /* HELLO, WORLD! IN MIXED CASE */
   DECLARE HELLO$WORLD ( 14 ) BYTE
           INITIAL( 'H', 65H, 6CH, 6CH, 6FH, ',', ' '
                  , 'W', 6FH, 72H, 6CH, 64H, 21H, '$'
                  );
   CALL PRINT$STRING( .HELLO$WORLD );
EOF

Version data entries

10 entries across 7 versions & 1 rubygems

Version Path
zettacode-0.1.7 files.zettacode/hello_world.text/pl-m.txt
zettacode-0.1.6 files.zettacode/hello_world.text/pl-m.txt
zettacode-0.1.6 files.zettacode2/hello_world.text/pl-m.txt
zettacode-0.1.5 files.zettacode/hello_world.text/pl-m.txt
zettacode-0.1.5 files.zettacode2/hello_world.text/pl-m.txt
zettacode-0.1.4 files.zettacode/hello_world.text/pl-m.txt
zettacode-0.1.4 files.zettacode2/hello_world.text/pl-m.txt
zettacode-0.1.3 files.zettacode/hello_world.text/pl-m.txt
zettacode-0.1.2 files.zettacode/hello_world.text/pl-m.txt
zettacode-0.1.1 zettacode.files/hello_world.text/pl-m.txt