02.07.2013 Views

Type III C lass A Program

Type III C lass A Program

Type III C lass A Program

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Set Location counter (SLC) Card<br />

The Set Location counter Card "sets the location counter used<br />

with the loader. The file loaded in after the SLC card is<br />

placed in core beginning at the address set by this SLC<br />

card. The SLC card has the format shown in Figure 43. It<br />

sets the location counter in one of three ways:<br />

a. With the absolute address specified as a hexadecimal<br />

number in columns 7-12.<br />

b. With the symbolic address already defined as a program<br />

name or entry point. This is specified by a symbolic name<br />

punched in columns 17-22.<br />

c. If both a hexadecimal address and a symbolic name are<br />

specified, the absolute address is converted to binary and<br />

added to the address assigned to the symbolic name; the<br />

resulting sum is the address to which the loader's location<br />

counter is set. For example, if OOOOF8 was specified in<br />

columns 7-12 of the SLC card image and GAMMA was specified<br />

in": columns 17-21, where GAMMA has an assigned address of<br />

006100 (hexadecimal), the absolute address in columns 7-12<br />

is added to the address assigned to GAMMA giving a total of<br />

0061F8. Thus, the location counter would be set to 0061F8.<br />

If there are blanks in both columns 7-12 and 17-22, or the<br />

symbolic name has not yet been defined, the response INVALID<br />

CARD xxx •• ,.xxx is typed out--or", depending on whether the<br />

LOAD option SINV or PINV was specified, is written in the<br />

file LOAD MAP. If only the symbolic aduress is to be used,<br />

columns 7-12 must be left blank or all zeros. If only the<br />

absolute address is to be used, columns 11-22 must be left<br />

blank.<br />

520 Changing Object <strong>Program</strong>s

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

Saved successfully!

Ooh no, something went wrong!