-
Notifications
You must be signed in to change notification settings - Fork 9
/
clctests.mlc
33 lines (33 loc) · 1.06 KB
/
clctests.mlc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
PRINT NOGEN
****************************************************************
* FILENAME: CLCTESTS.MLC *
* AUTHOR : Bill Qualls/z390 adaption by Anthony Delosa *
* SYSTEM : z390 V1703 *
* REMARKS : Book exercises from chapter 3 *
****************************************************************
START 0
EQUREGS
BEGIN SUBENTRY
WTO 'CLC instruction tests'
CLC NAME1,NAME1
BL LESSTHAN
BH GT
EQUAL EQU *
WTO 'EQUAL'
B END
LESSTHAN EQU *
WTO 'LESS THAN'
B END
GT EQU *
WTO 'GREATER THAN'
END EQU *
RETURN
LTORG
NAME1 DC C'CHERYL '
NAME2 DC C'APRIL '
DS 0H * INSURE HALF-WORD ALIGNMENT
WTOBLOCK EQU *
DC H'80' * For WTO, length of WTO buffer...
DC H'0' should be binary zeroes...
WTOTEXT DC CL76' '
END BEGIN