- Page 1:
High Level Assembler for z/OS & z/V
- Page 4 and 5:
Note!Before using this information
- Page 8 and 9:
|Open code . . . . . . . . . . . .
- Page 10 and 11:
Programming interface informationOr
- Page 12 and 13:
IBM High Level Assembler for z/OS &
- Page 14 and 15:
Syntax notationFormat▌A▐ ▌B
- Page 16 and 17:
Double-byte character set notationx
- Page 18:
Summary of changesxvi HLASM: V1R6 L
- Page 21 and 22:
Chapter 1. IntroductionA computer c
- Page 23 and 24:
Assembler languagev Macro instructi
- Page 25 and 26:
Assembler programProcessingConditio
- Page 27 and 28:
Coding made easierCoding made easie
- Page 29 and 30:
Chapter 2. Coding and structureThis
- Page 31 and 32:
Character setTable 4. Examples usin
- Page 33 and 34:
Assembler language coding conventio
- Page 35 and 36:
Assembler language coding conventio
- Page 37 and 38:
Assembler language coding conventio
- Page 39 and 40:
Assembler language structureThe mac
- Page 41 and 42:
Assembler language structureMachine
- Page 43 and 44:
Assembler language structureConditi
- Page 45 and 46:
Mnemonic tags|||||||||For example,
- Page 47 and 48:
Terms, literals, and expressions- T
- Page 49 and 50:
Terms, literals, and expressionsAss
- Page 51 and 52:
Terms, literals, and expressionsUsi
- Page 53 and 54:
Terms, literals, and expressions|||
- Page 55 and 56:
Terms, literals, and expressionsz/V
- Page 57 and 58:
Terms, literals, and expressionsTab
- Page 59 and 60:
Terms, literals, and expressions1.
- Page 61 and 62:
Terms, literals, and expressions1.
- Page 63 and 64:
Terms, literals, and expressions┌
- Page 65 and 66:
Terms, literals, and expressionsA-Y
- Page 67 and 68:
Chapter 3. Program structures and a
- Page 69 and 70:
SourcemoduleA source module is comp
- Page 71 and 72:
Beginning of a source modulev The S
- Page 73 and 74:
Beginning of a source moduleReferen
- Page 75 and 76:
Beginning of a source moduleNote: T
- Page 77 and 78:
Beginning of a source moduleClass l
- Page 79 and 80:
Beginning of a source modulez/VM an
- Page 81 and 82:
AddressingBase Address Definition:
- Page 83 and 84:
QualifiedDependentaddressingQualifi
- Page 85 and 86:
Addressingz/VM and z/OSWhen you spe
- Page 87 and 88:
Addressing..EX_SYM DC V(EXMOD1) Add
- Page 89 and 90:
AddressingSee the appendix “Objec
- Page 91 and 92:
Part 2. Machine and assembler instr
- Page 93 and 94:
Chapter 4. Machine instruction stat
- Page 95 and 96:
Input/output operationsThe input or
- Page 97 and 98:
Branching with extended mnemonic co
- Page 99 and 100:
Statement formatsSymbolic operation
- Page 101 and 102:
Operand entriesRegistersYou can spe
- Page 103 and 104:
Operand entriesv Explicitly—in a
- Page 105 and 106:
Operand entriesImmediateused by the
- Page 107 and 108:
Examples of coded machine instructi
- Page 109 and 110:
Examples of coded machine instructi
- Page 111 and 112:
Examples of coded machine instructi
- Page 113 and 114:
Examples of coded machine instructi
- Page 115 and 116:
Chapter 5. Assembler instruction st
- Page 117 and 118:
*PROCESS statementstatement, follow
- Page 119 and 120:
ACONTROL instruction►►NOCOMPAT,
- Page 121 and 122:
ACONTROL instructionFLAG(PAGE0)inst
- Page 123 and 124: ACONTROL instruction|||may be fetch
- Page 125 and 126: AINSERT instruction►►sequence_s
- Page 127 and 128: ALIAS instruction||||||The alias_st
- Page 129 and 130: AMODE instructionCATTR instruction
- Page 131 and 132: CATTR instructionRMODE(ANY)The text
- Page 133 and 134: CCW and CCW0 instructionssupport 31
- Page 135 and 136: CEJECT instructionIf number of line
- Page 137 and 138: CNOP instructionAfter the BALR inst
- Page 139 and 140: COPY instructioncopied from either
- Page 141 and 142: CSECT instructionsame section name
- Page 143 and 144: CXD instructionZETA: the resulting
- Page 145 and 146: DC instruction10EBP(7)L2’12’the
- Page 147 and 148: DC instructionTable 17. Length attr
- Page 149 and 150: DC instruction4. Double-byte data i
- Page 151 and 152: DC instructionTable 19. Type codes
- Page 153 and 154: DC instructionYou may omit the modi
- Page 155 and 156: DC instructionfirst constant to be
- Page 157 and 158: DC instructionTable 21. Specifying
- Page 159 and 160: DC instruction—Character constant
- Page 161 and 162: DC instruction—Character constant
- Page 163 and 164: DC instruction—Graphic constantTa
- Page 165 and 166: DC instruction—Fixed-point consta
- Page 167 and 168: DC instruction—Fixed-point consta
- Page 169 and 170: DC instruction—Decimal constantsD
- Page 171 and 172: DC instruction—Address constants|
- Page 173: DC instruction—Address constantsT
- Page 177 and 178: DC instruction—Length constantTab
- Page 179 and 180: DC instruction—Hexadecimal floati
- Page 181 and 182: DC instruction—Hexadecimal floati
- Page 183 and 184: Binary floating-point constants—E
- Page 185 and 186: Syntax of binary, decimal, and hexa
- Page 187 and 188: Syntax of binary, decimal, and hexa
- Page 189 and 190: DC instruction—Binary floating-po
- Page 191 and 192: DROP instruction..INREC DS CL156OUT
- Page 193 and 194: DS instructionthat corresponds to t
- Page 195 and 196: DS instructionFIELD DS 4CL10AREA DS
- Page 197 and 198: DXD instructionASEMBLY2 CSECTUSING
- Page 199 and 200: END instructionThe EJECT instructio
- Page 201 and 202: EQU instructionEQU instructionThe E
- Page 203 and 204: EQU instruction|||4. Symbols that n
- Page 205 and 206: EXITCTL instructionsequence_symboli
- Page 207 and 208: ICTL instructionICTL instructionThe
- Page 209 and 210: LOCTR instructionv An ordinary symb
- Page 211 and 212: LTORG instructionLiteralv A sequenc
- Page 213 and 214: LTORG instructionThe following exam
- Page 215 and 216: MNOTE instructionNotes:1. An MNOTE
- Page 217 and 218: OPSYN instructionAn OPSYN instructi
- Page 219 and 220: ORG instructionAACSECTX DS DY DS FB
- Page 221 and 222: POP instructionPOP instructionThe P
- Page 223 and 224: PRINT instructionthis operand is sp
- Page 225 and 226:
PRINT instructionThe PRINT instruct
- Page 227 and 228:
PUSH instruction►►sequence_symb
- Page 229 and 230:
RMODE instruction|||3. The valid an
- Page 231 and 232:
START instructionv An ordinary symb
- Page 233 and 234:
TITLE instructioninstruction occurs
- Page 235 and 236:
USING instructionv The first format
- Page 237 and 238:
USING instructionOrdinary USING►
- Page 239 and 240:
USING instructionregister for assem
- Page 241 and 242:
USING instructionLEFT USING ELEMENT
- Page 243 and 244:
USING instructionendrange of an act
- Page 245 and 246:
WXTRN instructionWXTRN instructionT
- Page 247 and 248:
XATTR instructionPSECT►► PSECT(
- Page 249 and 250:
XATTR instructionCODE Class PSECT C
- Page 251 and 252:
Part 3. Macro languageChapter 6. In
- Page 253 and 254:
Chapter 6. Introduction to macro la
- Page 255 and 256:
Macro definitionProcessingCommentTh
- Page 257 and 258:
Source and library macro definition
- Page 259 and 260:
Chapter 7. How to specify macro def
- Page 261 and 262:
MENDMACRO and MEND statementsstatem
- Page 263 and 264:
Prototype statementNotes:Body of a
- Page 265 and 266:
Listing of generated fields contain
- Page 267 and 268:
Rules for model statement fieldsThe
- Page 269 and 270:
Symbolic parametersBy using symboli
- Page 271 and 272:
Subscripted symbolic parametersThe
- Page 273 and 274:
AREAD instructionThe AREAD instruct
- Page 275 and 276:
ASPACEASPACE instructioninstruction
- Page 277 and 278:
Comment statementsSystem variable s
- Page 279 and 280:
&SYSADATA_DSN System Variable Symbo
- Page 281 and 282:
&SYSASM System Variable Symbol&SYSA
- Page 283 and 284:
&SYSECT System Variable SymbolThe v
- Page 285 and 286:
&SYSIN_DSN System Variable SymbolEn
- Page 287 and 288:
&SYSIN_VOLUME System Variable Symbo
- Page 289 and 290:
&SYSLIB_VOLUME System Variable Symb
- Page 291 and 292:
&SYSLIN_MEMBER System Variable Symb
- Page 293 and 294:
&SYSLIST System Variable Symbol3. I
- Page 295 and 296:
&SYSM_HSEV System Variable SymbolIn
- Page 297 and 298:
&SYSNDX System Variable Symbolv Be
- Page 299 and 300:
&SYSNEST System Variable SymbolStat
- Page 301 and 302:
&SYSPARM System Variable Symbol7. I
- Page 303 and 304:
&SYSPRINT_VOLUME System Variable Sy
- Page 305 and 306:
&SYSPUNCH_MEMBER System Variable Sy
- Page 307 and 308:
&SYSSTYP System Variable Symbol&SYS
- Page 309 and 310:
&SYSTERM_DSN System Variable Symbol
- Page 311 and 312:
&SYSVER System Variable SymbolNotes
- Page 313 and 314:
Chapter 8. How to write macro instr
- Page 315 and 316:
Macro instruction format2. If the D
- Page 317 and 318:
Macro instruction formatSource Modu
- Page 319 and 320:
Macro instruction format┌─ ▌4
- Page 321 and 322:
Sublists in operandsA symbolic para
- Page 323 and 324:
Sublists in operandsTable 49. Multi
- Page 325 and 326:
Quoted strings and character string
- Page 327 and 328:
Nesting macro instruction definitio
- Page 329 and 330:
Levels of macro call nesting┌─
- Page 331 and 332:
Levels of macro call nesting&SYSM_S
- Page 333 and 334:
Chapter 9. How to write conditional
- Page 335 and 336:
SET symbol specificationsSET symbol
- Page 337 and 338:
SET symbolsTable 50. Features of SE
- Page 339 and 340:
SET symbols&X(2,33,55) becomes &X2$
- Page 341 and 342:
Data attributescharacter_stringis a
- Page 343 and 344:
Data attributes3. If the operand (o
- Page 345 and 346:
Data attributes000000 00000 00004 8
- Page 347 and 348:
Data attributes|||||||||||&B SETC
- Page 349 and 350:
Data attributes6. The scale attribu
- Page 351 and 352:
Data attributes2. N'&SYSLIST refers
- Page 353 and 354:
Data attributes&B contains the lett
- Page 355 and 356:
LookaheadLookahead mode ends when t
- Page 357 and 358:
Open code|Table 55. Restrictions on
- Page 359 and 360:
GBLA, GBLB, and GBLC instructions,
- Page 361 and 362:
LCLA, LCLB, and LCLC instructionsEx
- Page 363 and 364:
Assigning values to SET symbols|||T
- Page 365 and 366:
SETA instructionassigned to the SET
- Page 367 and 368:
SETA instructionTable 59. Use of ar
- Page 369 and 370:
SETA instructionExamplesDCLEN(’
- Page 371 and 372:
SETA instruction|||||ISSYM(’Abcd_
- Page 373 and 374:
SETA instructionOutput: X2A(’hexs
- Page 375 and 376:
SETA instruction&I SETC ’C’’
- Page 377 and 378:
SETBSETB instructioninstructionUse
- Page 379 and 380:
SETB instruction|||Subscripted SETB
- Page 381 and 382:
SETB instructionThe two comparands
- Page 383 and 384:
SETC instruction|Notes:1. The assem
- Page 385 and 386:
Substring notationThe substring not
- Page 387 and 388:
Substring notationTable 61. Use of
- Page 389 and 390:
Substring notationIf needed, the ar
- Page 391 and 392:
Substring notationD2X(’’) indic
- Page 393 and 394:
Substring notation||UPPEROutput: SY
- Page 395 and 396:
Substring notationThe following sta
- Page 397 and 398:
Substring notationMACRO&NAME MOVE &
- Page 399 and 400:
Extended SET statementsExtended SET
- Page 401 and 402:
SETCF instructionA global variable
- Page 403 and 404:
AIF instructionThe logical expressi
- Page 405 and 406:
AGO instruction,►►sequence_symb
- Page 407 and 408:
ANOP instruction►► sequence_sym
- Page 409 and 410:
Chapter 10. MHELP instructionThe MH
- Page 411 and 412:
MHELP operand mappingNote: You can
- Page 413 and 414:
Part 4. Appendixes© Copyright IBM
- Page 415 and 416:
Appendix A. Assembler instructionsT
- Page 417 and 418:
Assembler instructions and statemen
- Page 419 and 420:
Assembler instructions and statemen
- Page 421 and 422:
Appendix B. Summary of constantsTab
- Page 423 and 424:
Appendix C. Macro and conditional a
- Page 425 and 426:
Macro and conditional assembly lang
- Page 427 and 428:
Macro and conditional assembly lang
- Page 429 and 430:
Macro and conditional assembly lang
- Page 431 and 432:
Macro and conditional assembly lang
- Page 433 and 434:
Macro and conditional assembly lang
- Page 435 and 436:
Appendix D. Standard character set
- Page 437 and 438:
Standard character set code tableHe
- Page 439 and 440:
NoticesThis information was develop
- Page 441 and 442:
BibliographyHigh Level AssemblerPub
- Page 443 and 444:
IndexSpecialcharacters/as division
- Page 445 and 446:
attributes (continued)summary of 40
- Page 447 and 448:
DECK assembler option (continued)&S
- Page 449 and 450:
length attribute (continued)assigne
- Page 451 and 452:
operation entry coding 19OPSYN inst
- Page 453 and 454:
SLL (SETA built-in function) 353SO
- Page 455 and 456:
Readers’ Comments — We’d Like
- Page 458:
Program Number: 5696-234Printed in