12.07.2015 Views

z/OS V1R9.0 TSO/E Command Reference

z/OS V1R9.0 TSO/E Command Reference

z/OS V1R9.0 TSO/E Command Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

TEST—AND SubcommandTEST—AND subcommand examplesExample 1Operation: AND two full words of data each in a virtual storage location placing theresult in the second location.Known:v The starting address of the data to be used as the first operand: 80680v The starting address of the data to be used as the second operand and thelocation of the result: 80690and 80680. 80690. length(8)Example 2Operation: AND the contents of two registers, placing the result in the secondregister specified.Known:v The register which contains the data specified as the first operand: 10v The register which contains data specified as the second operand and the result:5and 10r 5rExample 3Operation: Turn off the high-order bit of a register.Known:v The AND value: X'7F'v The register: 1and 7F. 1r l(1) pointerNote: Specifying the pointer operand causes 7F to be treated as an immediateoperand and not as an address.Example 4Operation: AND the contents of an area pointed to by a register into another area.Known:v The register which points to the area that contains the data to be ANDed: 14v The virtual storage location which is to contain the second operand and result:80680v The length of the data to be ANDed: 8 bytesand 14r% 80680. l(8) nopointExample 5Operation: AND a fullword with X'7F' into the storage where general register 3points in the alternate address/data space referred to by the ALET 00010004.and 7f. 3r? pointer aletto(00010004)Assignment of values function of TESTUse the assignment function to change:v The contents of specified program locations in virtual storagev The contents of specific registersv The contents of storage in an alternate address/data space.Chapter 1. <strong>TSO</strong>/E commands and subcommands 291

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

Saved successfully!

Ooh no, something went wrong!