- 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 20 and 21: 2 HLASM: V1R6 Language Ref
- Page 22 and 23: Language compatibilityLanguage comp
- Page 24 and 25: Assembler programBasicAssociatedfun
- Page 26 and 27: Relationship of assembler to operat
- Page 28 and 29: Coding made easierProgramA discussi
- Page 30 and 31: Character setuppercase alphabetic c
- Page 32 and 33: Assembler language coding conventio
- Page 34 and 35: Assembler language coding conventio
- Page 36 and 37: Assembler language coding conventio
- Page 38 and 39: Assembler language coding conventio
- Page 40 and 41: Assembler language structureOvervie
- Page 42 and 43: Assembler language structureAssembl
- Page 44 and 45: Assembler language structureMacro i
- Page 46 and 47: Terms, literals, and expressionsTab
- Page 48 and 49: Terms, literals, and expressions&VA
- Page 50 and 51: Terms, literals, and expressions32
- Page 52 and 53: Terms, literals, and expressions0 -
- Page 54 and 55: Terms, literals, and expressions4.
- Page 56 and 57: Terms, literals, and expressionsv B
- Page 58 and 59: Terms, literals, and expressionsC3
- Page 60 and 61: Terms, literals, and expressionsind
- Page 62 and 63: Terms, literals, and expressionsass
- Page 64 and 65: Terms, literals, and expressions4.
- Page 66 and 67: 48 HLASM: V1R6 Language Ref
- Page 68 and 69:
Object program structuresThe follow
- Page 70 and 71:
Beginning of a source moduleAt link
- Page 72 and 73:
Beginning of a source moduleCSECT,
- Page 74 and 75:
Beginning of a source moduleThe COM
- Page 76 and 77:
Beginning of a source moduleexplici
- Page 78 and 79:
Beginning of a source moduleYou may
- Page 80 and 81:
Beginning of a source moduleSOURCE
- Page 82 and 83:
AddressingUSING ADATA,2- - -BDATA D
- Page 84 and 85:
AddressingRelativeLiteralREALDATA D
- Page 86 and 87:
AddressingFor example, you can iden
- Page 88 and 89:
Addressing..EX_SYM DC V(EXMOD1) Add
- Page 90 and 91:
Addressing72 HLASM: V1R6 Language R
- Page 92 and 93:
Redefining conditional assembly ins
- Page 94 and 95:
Decimal instructionsDecimal data ma
- Page 96 and 97:
Branching with extended mnemonic co
- Page 98 and 99:
Alternative mnemonics for some bran
- Page 100 and 101:
Symbolic operation codesThe other i
- Page 102 and 103:
Operand entries- For Branch on Inde
- Page 104 and 105:
Operand entriesv Addresses in your
- Page 106 and 107:
Examples of coded machine instructi
- Page 108 and 109:
Examples of coded machine instructi
- Page 110 and 111:
Examples of coded machine instructi
- Page 112 and 113:
Examples of coded machine instructi
- Page 114 and 115:
Examples of coded machine instructi
- Page 116 and 117:
Assembler instruction statementsTab
- Page 118 and 119:
ACONTROL instruction||ACONTROL inst
- Page 120 and 121:
ACONTROL instruction►►,FLAG(
- Page 122 and 123:
ACONTROL instruction|||||||||||||||
- Page 124 and 125:
ACONTROL instructionFor further det
- Page 126 and 127:
ALIAS instructionALIAS instructionT
- Page 128 and 129:
AMODE instructionANY64The control s
- Page 130 and 131:
CATTR instruction||||PART(part-name
- Page 132 and 133:
CCW and CCW0 instructionscommand_co
- Page 134 and 135:
CCW1 instructionThe internal machin
- Page 136 and 137:
CNOP instructionTable 15 shows vali
- Page 138 and 139:
COM instructionIf a common section
- Page 140 and 141:
CSECT instructionCSECT instructionT
- Page 142 and 143:
CXD instruction►►symbolCXD►
- Page 144 and 145:
DC instruction►►symbolDC ▼ ,o
- Page 146 and 147:
DC instructionIf more than one oper
- Page 148 and 149:
DC instructionPadding and truncatio
- Page 150 and 151:
DC instruction||||||||||||||||If a
- Page 152 and 153:
DC instructionTable 20. Type extens
- Page 154 and 155:
DC instructionmodifier. You may not
- Page 156 and 157:
DC instructionpoint is assumed to b
- Page 158 and 159:
DC instruction—Binary constantBin
- Page 160 and 161:
DC instruction—Character constant
- Page 162 and 163:
DC instruction—Character constant
- Page 164 and 165:
DC instruction—Hexadecimal consta
- Page 166 and 167:
DC instruction—Fixed-point consta
- Page 168 and 169:
DC instruction—Decimal constantsr
- Page 170 and 171:
DC instruction—Address constantsN
- Page 172 and 173:
DC instruction—Address constantsA
- Page 175 and 176:
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