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