12.07.2015 Views

1. xerox 560 computer system - The UK Mirror Service

1. xerox 560 computer system - The UK Mirror Service

1. xerox 560 computer system - The UK Mirror Service

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.

3.4.5.If the pattern byte is a field separator (X'22'), the fillcharacter is stored in the pattern byte location. CC1,CC3, and CC4 are all reset to O's, and CC2 remainsunchanged.If the pattern byte is not a digit selector, significancestart, immediate significance start, or field separator,one of the following actions are performed:ConditionsCC1=O }CC4=OCC1=1 }CC4=OCC4=lActionStore fill character in pattern bytelocation.Store blank character (X'40') in patternbyte location.None (pattern byte remains unchanged).Increment the destination address in regi ster Ru 1 anddecrement the count in regi ster Ru <strong>1.</strong> If the count issti II nonzero, process the next pattern byte as above;otherwise, execute the next instruction in sequence.R field is an odd value or equal to zero, the instructiontraps to location X'40', instruction exception trap.If an i "egal digit or sign is detected in the decimal informationfield, the basic processor unconditionally abortsexecution of the instruction (at the time the i "egal digitor sign is encountered) and traps to location X'45' with thecontents of register R, register Ru1, register 1, the destinationbyte string, and the condition code containing the resultsof the last editing operation performed before theillegal digit or sign was encountered.See "Traps By Byte-String Instructions llfor other trap conditions.(in this section)In the following examples, the hexadecimal codes for thedigit selector (X' 20'), the significance start (X'21'), thefield separation (X'22'), and the immediate significancestart (X'23') are represented by the character groups ds,ss, fs, and si, respectively. Also, the symbol 1:> is used torepresent the character blank (X'40'). Note that code X'5C'represents the * symbol.Affected: (R),(Ru1)(register 1),(OBS), CCedited (SBS) -OBSTraps: Nonexistentinstruction,decimal arithmetic,instructionexceptionExample 1, before execution:<strong>The</strong> instruction word isX '63600000'Condition code settings:oo2 3 4 Result of EBS- 0 Significance is not present, no sign digit hasbeen encountered.Signifi cance is present, no sign digit has beenencountered.- 0 A positive sign has been encountered.A negative sign has been encountered.- 0 Next digit to be processed is leftdigitofbyte.Nextdigit to be processed is rightdigitofbyte.- 0 No nonzero digit has been encountered.- A nonzero digit has been encountered.If EBS is indirectly addressed, it is treated as a nonexistentinstruction. <strong>The</strong> basic processor unconditionally abortsexecution of the instruction (at the time of operation codedecoding) and traps to location X'40' with the contents ofregister R, register Rul, register 1, the destination bytestring, and the condition code unchanged.<strong>The</strong> R field of the EBS instruction must be an even value(excluding 0) for proper operation of the instruction; if the<strong>The</strong> contents of register 6 are:X'5C000100'<strong>The</strong> contents of register 7 are:X'OCOO1ooo'<strong>The</strong> contents of the decimal information field beginning atbyte location X'100' are:0000000+<strong>The</strong> contents of the destination byte string beginning at bytelocation X'lOOO' are:ds ds , ds ds ss . ds ds 1:> C R<strong>The</strong> condition code is:0000Example 1, after execution:<strong>The</strong> instruction word is unchanged.<strong>The</strong> new contents of register 6 are:X'5C000104'94 Byte-String Instructions

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

Saved successfully!

Ooh no, something went wrong!