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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

-----------------<br />

information are specified, the information is stored in<br />

consecutive locations" even if one or both operands contain<br />

less than four bytes of information, as shown in Example b.<br />

The contents of registers that have been changed using the<br />

SET request are not typed after the request has been issued.<br />

To inspect the contents of these registers, the CAW" CSW.<br />

PSW, or GPR requests are issued as needed. Figure i7<br />

contains examples of issuing these requests both before and<br />

after SET has been issued.<br />

Responses:<br />

If the request is issued correctly" a carriage return is<br />

issued and the keyboard is unlocked to accept another DEBUG<br />

request.<br />

INVALID DEBUG REQUEST<br />

This response indicates that the wrong number of operands<br />

have been specified. If the CAW is set, two operands must be<br />

given. To set the CSW or the PSW, two or three operands are<br />

required. TO set a GPR. three or four operands must be<br />

given.<br />

INVALID ARGUMENT<br />

This message indicates that either<br />

CAW, CSW, PSW or GPR. the first<br />

second operand is not a decimal<br />

inclusive, or one or more of the<br />

contain hexadecimal information.<br />

Examples:<br />

the first operand is not<br />

operand is GPR and the<br />

number between 0 and 15<br />

hexinfo operands does not<br />

a. SET CAW 1100<br />

This example causes the two-bytes 1100 to be placed in the<br />

first, two bytes of the channel address word that existed<br />

when DEBUG was entered. See Figure 18. This new channel<br />

address word is restored when an exit is made from the DEBUG<br />

environment.<br />

h. SET CSW 001 00FF81<br />

Since an uneven number of bytes is specified in the second<br />

operand, a zero is placed in the left-frost half-byte" giving<br />

0001. These two by test, together with the three bytes given<br />

in the third operand are placed as a single five-byte field<br />

into the csw that existed when DEBUG was entered. See<br />

Figure 18. This new channel status word is restored when<br />

leaving the DEBUG environment.<br />

c. SET PSW 01000000 00012036<br />

The contents of the entire program status word for the<br />

interrupt that caused DEBUG to be entered are replaced by<br />

these eight bytes of information. See Figure 18. This PSW<br />

becomes the current psw when an exit is made from the DEBUG<br />

environment.<br />

DEBUG - SET 249

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

Saved successfully!

Ooh no, something went wrong!