-
Notifications
You must be signed in to change notification settings - Fork 9
/
alp65.mlc
22 lines (22 loc) · 1.05 KB
/
alp65.mlc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
*****************************************************************
* program: alp65.mlc
* author : John Ehrman
* desc : Hello world from chapter 6.5 of book
* Assembler Language Programming for IBM System Z
* Servers
* z390 does not support all the features of the
* John Ehrman macros supplied from his book.
* ASSIST instructions are used in its place.
* Run using ASSIST - asmlga or add "ASSIST" as param
*****************************************************************
Test Start 0 First line of program Line 4
* Print NoGen Line 5
* Sample Program Line 6
* BASR 15,0 Establish a base register Line 7
* Using *,15 Inform the Assembler Line 8
* PRINTOUT MyName,* Print name and stop Line 9
* XPRNT MyName,L'MyName >9> ASSIST print
XDUMP
RETURN 0 >9> Exit
MyName DC C'Anthony Delosa' Define constant with name Line 10
END Test Last statement Line 11