HLASM Language Reference

HLASM Language Reference HLASM Language Reference

faculty.cs.niu.edu
from faculty.cs.niu.edu More from this publisher
22.02.2015 Views

Index relative addressing 67 relocatability attribute 47 relocatable expression complex 48 definition 48 EQU instruction 184 relocatable symbol defined 31 relocatable terms 28 See also self-defining terms remarks entries 21 RENT assembler option 212, 285 &SYSOPT_RENT system variable symbol 285 determining if supplied 285 representation conversion functions A2 375 A2B 374 A2D 375 A2X 375 B2A 353 B2C 375 B2D 376 B2X 376 BYTE 376 C2A 353 C2B 377 C2D 377 C2X 377 D2A 354 D2B 377 D2C 378 D2X 378 SIGNED 380 X2A 358 X2B 381 X2C 381 X2D 381 REPRO instruction 210 residence mode (RMODE) See RMODE RI format 91 RMODE establishing values 68 indicators in ESD 68 instruction 211 RMODE instruction 24 211 31 211 64 211 ANY 211 RR format 93 RS format 94 RSECT instruction 212 &SYSECT 268 &SYSSTYP 293 RSI format 95 rules for model statement fields 251 RX format 95 S S' scale attribute 333 S-type address constant 156 scale attribute (S') 333 scale modifier 136, 138 SCOPE XATTR operands 232 scope of SET symbols 319 SECTALGN assembler option interaction with ALIGN 113 interaction with LTORG instruction 194 interaction with ORG instruction 201 sectioning, program addressing mode of a control section 110 control sections 52 CSECT instruction 123 defining 180 ESD entries 72 external symbols 189 first control section 54 identifying a blank common control section 57 identifying a dummy section 56 location counter 61 maximum length of control section 62 multiple location counters in a control section 191 read-only control section 212 residence mode of a control section 211 source module 52 total length of external dummy sections 125 unnamed control section 55 weak external symbols 229 sections See also control sections GOFF option considerations 68 segments of control sections 68 self-defining terms binary 35 character 35 comparison with literals and constants 41 decimal 34 graphic 36 hexadecimal 35 overview 34 using 34 semiprivileged instructions 79 sequence symbols 339 defined 31 SET statement extended 387 SET symbols See also symbols, SET 444 HLASM V1R5 Language Reference

Index SET symbols (continued) arrays 319 assigning values to 347 created 323 declaring 343 global 344 local 345 description of 319 dimensioned 319 external function calls 388, 389 scope of 319 SETA (set arithmetic) 347 SETB (set binary) 362 SETC (set character) 369 specifications 320 specifications for subscripted 322 subscripted 319 SETA arithmetic expression 347 built-in functions 353 instruction format 347 symbol in operand field of SETC in arithmetic expressions 352 leading zeros 387 sign of substituted value 387 symbols subscripted 347 using 360 SETAF instruction 388 SETB character relations in logical expressions 367, 368 instruction format 362 logical expression 362 symbols subscripted 362 using 368 SETC built-in functions 374 character expression 369 character expressions 371 instruction format 369 SETA symbol in operand field 387 statement format 369 substring notation 369 symbols subscripted 369 SETCF instruction 389 shift codes shift-in (SI) DBCS character delimiter 12 shift-out (SO) DBCS character delimiter 12 shift functions SLA 356 SLL 356 SRA 357 SRL 357 shift left arithmetic (SETA built-in function) 356 shift left logical (SETA built-in function) 356 shift right arithmetic (SETA built-in function) 357 shift right logical (SETA built-in function) 357 SI (shift-in) character continuation of double-byte data 16 continuation-indicator field 15 double-byte character set 12 SI format 97 SIGNED (SETC built-in function) 380 simply relocatable address defined 89 SLA (SETA built-in function) 356 SLL (SETA built-in function) 356 SO (shift-out) character continuation of double-byte data 16 continuation-indicator field 15 double-byte character set 12 softcopy publications xiii source macro definitions 241 source module 10 SPACE instruction 213 blank lines 213 special characters 308 SRA (SETA built-in function) 357 SRL (SETA built-in function) 357 SS format 97 stacked items xv START instruction 214 &SYSECT 268 &SYSSTYP 293 beginning a source module 52 control section 53 syntax 214 statement coding rules 19 statement field 14 string manipulation functions DCLEN 354 DCVAL 378 DEQUOTE 379 DOUBLE 379 LOWER 379 UPPER 380 string scanning functions FIND 355 INDEX 355 strings character 309 quoted 309 structure of assembler language 21 subfield 1 of constant (duplication factor) 132 subfield 2 of constant (type) 133 subfield 3 of constant (type extension) 134 subfield 4 of constant (modifier) 136 subfield 5 of constant (nominal value) 140 Index 445

Index<br />

relative addressing 67<br />

relocatability attribute 47<br />

relocatable expression<br />

complex 48<br />

definition 48<br />

EQU instruction 184<br />

relocatable symbol<br />

defined 31<br />

relocatable terms 28<br />

See also self-defining terms<br />

remarks entries 21<br />

RENT assembler option 212, 285<br />

&SYSOPT_RENT system variable symbol 285<br />

determining if supplied 285<br />

representation conversion functions<br />

A2 375<br />

A2B 374<br />

A2D 375<br />

A2X 375<br />

B2A 353<br />

B2C 375<br />

B2D 376<br />

B2X 376<br />

BYTE 376<br />

C2A 353<br />

C2B 377<br />

C2D 377<br />

C2X 377<br />

D2A 354<br />

D2B 377<br />

D2C 378<br />

D2X 378<br />

SIGNED 380<br />

X2A 358<br />

X2B 381<br />

X2C 381<br />

X2D 381<br />

REPRO instruction 210<br />

residence mode (RMODE)<br />

See RMODE<br />

RI format 91<br />

RMODE<br />

establishing values 68<br />

indicators in ESD 68<br />

instruction 211<br />

RMODE instruction<br />

24 211<br />

31 211<br />

64 211<br />

ANY 211<br />

RR format 93<br />

RS format 94<br />

RSECT instruction 212<br />

&SYSECT 268<br />

&SYSSTYP 293<br />

RSI format 95<br />

rules for model statement fields 251<br />

RX format 95<br />

S<br />

S' scale attribute 333<br />

S-type address constant 156<br />

scale attribute (S') 333<br />

scale modifier 136, 138<br />

SCOPE<br />

XATTR operands 232<br />

scope of SET symbols 319<br />

SECTALGN assembler option<br />

interaction with ALIGN 113<br />

interaction with LTORG instruction 194<br />

interaction with ORG instruction 201<br />

sectioning, program<br />

addressing mode of a control section 110<br />

control sections 52<br />

CSECT instruction 123<br />

defining 180<br />

ESD entries 72<br />

external symbols 189<br />

first control section 54<br />

identifying a blank common control section 57<br />

identifying a dummy section 56<br />

location counter 61<br />

maximum length of control section 62<br />

multiple location counters in a control section 191<br />

read-only control section 212<br />

residence mode of a control section 211<br />

source module 52<br />

total length of external dummy sections 125<br />

unnamed control section 55<br />

weak external symbols 229<br />

sections<br />

See also control sections<br />

GOFF option considerations 68<br />

segments of control sections 68<br />

self-defining terms<br />

binary 35<br />

character 35<br />

comparison with literals and constants 41<br />

decimal 34<br />

graphic 36<br />

hexadecimal 35<br />

overview 34<br />

using 34<br />

semiprivileged instructions 79<br />

sequence symbols 339<br />

defined 31<br />

SET statement<br />

extended 387<br />

SET symbols<br />

See also symbols, SET<br />

444 <strong>HLASM</strong> V1R5 <strong>Language</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!