Character Data #2

Categories:

Quiz: Character Data #2

1. 
What is the condition code after executing the CLC?


X       DC   CL6'123456'
Y       DC   CL10'ABCDEFGHIJ'
        ...    
CLC X,Y
Deselect Answer

2. 
How many characters are in the EBCDIC encoding sequence?
3. 
What is the condition code after executing CLI?


X        DC   CL6'123456'
Y        DC   CL10'ABCDEFGHIJ'        
         ...    
         CLI X,C'9'
Deselect Answer

4. 
What is the condition code after executing CLI?

X      DC   CL6'123456'      
       ...      
       CLI X,X'40'
Deselect Answer

5. 
What are the character contents of X after executing MVI?


X      DC   CL6'123456'
       ...
       MVI X,X'C1'
Deselect Answer

6. 
What are the character contents of X when assembled?

X         DC     CL8'12345678'
            ORG   X+1 
            DC      C'ABCD'
            ORG   X+4
            DC       C'WXY'
            ORG    ,Deselect Answer

7. 
What is the condition code after executing the CLC?

X       DC   CL6'123456'
Y       DC   CL10'ABCDEFGHIJ'        
        ...      
        CLC X,Y
Deselect Answer

8. 
For SS instructions, the assembler subtracts one from an actual length to produce a length in object code. Why?
9. 
What are the character contents of X after the MVC?

Assume,

X        DC   CL6'123456'
Y        DC   CL10'ABCDEFGHIJ'  
           ...
          MVC X,Y

Deselect Answer

10. 
What are the character contents of Y after the MVC?

X DC CL6'123456'
Y DC CL10'ABCDEFGHIJ'
  ...
  MVC Y,X
Deselect Answer

Leave a Reply