Give yourself the marks  shown for each question. This is a
    self-scoring test. 
    
                
               
    TEST:
    
    
    1. What does BTFSS 06,3 mean?  (1 mark) 
    
    
            
    
        
    
    
    2. What does the word "literal" mean? 
    (1 mark) 
    
    
            
    
    
    
    3. Name the input/output file for a PIC12C508A:  
    (1 mark) 
    
            
    
    
    4. How many output lines does a PIC12C508A have?  (1
    mark) 
    
    
            
    
   
    
    
    5. Name the input/output lines of a PIC12C508A.    
    (1 mark) 
    
            
    
    
    
    
    6. Write the instruction to put 44h into W?  (1 mark) 
    
    
            
    
    
    
    
    
    7. Write the instruction to move 44h from W to file 1A?  (1 mark) 
    
    
            
    
   
    
    
    8. Name the file that controls the direction of the bits of the input/output
    file for a PIC12c508A:  
                                                                                                                                       
    (1 mark) 
    
    
            
    
    
    
    
    9. Write the instructions to make bit 3 of the TRIS file an INPUT (1 mark) 
    
    
            
    
   
    
    10. Write the instructions to make bit 3 of the input/output file HIGH
 (1 mark) 
    
    
            
    
   
    
    11. Describe the main difference between: GOTO Tester and CALL
    Tester. (1 mark) 
    
    
            
    
    
    
    12. For any file, what is the maximum hex value it can store? (1 mark) 
    
            
   
   
    
    
    13. Describe, in words, the following instruction: 
    DECFSZ 1A   (1 mark) 
    
    
            
    
    
    
    14.
     Write the two instructions to carry out the following:  Put 8E into file 1C    
    (2 marks) 
    
    
            
    
    
                
               
    15. Write the 3 instructions to make bit 2 of the input/output port HIGH 
    (3 marks) 
    
            
    
    
    
    (Any line of the input/output port (file 06) must be
    made into an output line before making it HIGH.)
    
    
    
    
    16. Name the line of the input/output port that can only be an
    INPUT:  (1 mark) 
    
    
            
    
    
    17. What value will be contained in file 1A after the instruction: BSF
    1A,4  (1 mark) 
                
           
            
        
    
    
    
    
    18. File 1B holds the value 0000 1100.  After the following instruction: 
    BSF 1B,6  the file will
             contain:    
    (1 mark) 
    
    
            
    
    
    19. A LED is connected to the 3rd lowest output of the input/output port of
    a PIC12C508A. 
         Write the instruction to activate the LED: 
    (1 mark) 
    
    
            
    
    
    20. The TRIS file is loaded with 0011 1011. Name the output line(s) created by
    this value.   (1 mark) 
    
            
    
    
    21. Name the lowest in/out line for a PIC12C508A:     
    (1 mark) 
    
    
            
    
    
    22.  Write in words the instruction: BCF 06,0     (1 mark)
    
    
            
    
    
    23. Name the highest in/out line for a PIC12C508A:    (1
    mark)
    
        
   
            
    
    
    24. Write the "bit set file" instruction for the 5 output
    lines for a PIC12C508A:   (1 mark) 
    
            
    
    
    
    
    25. What does "bit manipulation" mean?   (1
    mark) 
    
            
            
    26.  List the twenty files used for creating a program for a PIC12C508A
    micro:    (1 mark) 
    
    
            
    
    27. What is the difference between:
             MOVLW 02
             MOVWF 1A
 and:
             BSF 1A,2    (1 mark) 
    
    
            
    
    28.  Write the TRIS value needed to make GP0, GP3 and GP5 inputs:      (1 mark) 
    
    
            
    
    
    29. What is a "flag" file? (1 mark) 
    
    
            
    
    
    30.  What is a Nested Loop?        
    (1 mark)