A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
16
Task/Hello-world-Text/360-Assembly/hello-world-text.360
Normal file
16
Task/Hello-world-Text/360-Assembly/hello-world-text.360
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{using native SVC (Supervisor Call) to write to system console}
|
||||
|
||||
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
|
||||
DC C'Goodbye, World!' Text to be written to system console
|
||||
END
|
||||
|
||||
{using WTO Macro to generate SVC 35 and message area}
|
||||
|
||||
WTO 'Goodbye, World!'
|
||||
BR 14 Return
|
||||
END
|
||||
Loading…
Add table
Add a link
Reference in a new issue