RosettaCodeData/Task/Hello-world-Text/360-Assembly/hello-world-text-1.360

11 lines
464 B
Text
Raw Permalink Normal View History

2019-09-12 10:33:56 -07:00
HELLO CSECT
USING HELLO,15
2015-02-20 00:35:01 -05:00
LA 1,MSGAREA Point Register 1 to message area
SVC 35 Invoke SVC 35 (Write to Operator)
BR 14 Return
MSGAREA EQU * Message Area
DC AL2(19) Total area length = 19 (Prefix length:4 + Data Length:15)
DC XL2'00' 2 bytes binary of zeros
2015-11-18 06:14:39 +00:00
DC C'Hello world!' Text to be written to system console
2015-02-20 00:35:01 -05:00
END