Home / ECE / Microprocessors :: Section 5

ECE :: Microprocessors

  1. Consider the following statement in FORTRAN 77

    READ*, [X(I) Y(I) = 0, 3, 2]

    Which of the following is correct?

  2. A.
    2 values could be read and stored asX (0), Y (0)
    B.
    4 values could be read and stored asX (0), Y (0), X (2), Y (2)
    C.
    6 values could be read and stored as X (0), Y (0), Y (2), X (3), Y (3)
    D.
    none of the above

  3. The number 0.004854 in normalized floating point mode is represented as


  4. Assertion (A): If contents of F register in 8085 are 01010001, it means S = 0, Z = 1, AC= 1, P = 0 and CY = 1.

    Reason (R): When an instruction is called from memory, the op. code of instruction is stored in instruction register.

  5. A.
    Both A and R are correct and R is correct explanation of A
    B.
    Both A and R are correct but R is not correct explanation of A
    C.
    A is correct R is wrong
    D.
    A is wrong R is correct

  6. The combination of registers in 8085 is B-C, D-E, H-L only.

  7. A.
    True
    B.
    False

  8. An instruction used to set cany flag in a computer is classified as

  9. A.
    data transfer
    B.
    arithmetic
    C.
    logical
    D.
    program control

  10. In FORTRAN 77 the total number of characters in a variable can be a maximum of

  11. A.
    6
    B.
    1
    C.
    8
    D.
    9

  12. The relational operators allowed in Pascal are

  13. A.
    =, >, <, > =, < = and < >
    B.
    =, >, < and < >
    C.
    =, >, <, > = and < =
    D.
    >, <, > = and < =

  14. In 8086 the instruction ADD AL, CH means

  15. A.
    the two 8 bit values in registers AL and CH are added and result placed in register AL
    B.
    the two 8 bit values in registers AL and CH are added and result placed in register CH
    C.
    the two 16 bit values in registers AL and CH are added and result placed in register AL
    D.
    the two 16 bit values in registers AL and CH are added and result placed in register CH

  16. Almost all high level languages have provision for logical operations.

  17. A.
    True
    B.
    False

  18. In which of the following 8085 instructions is the CY flag complemented?

  19. A.
    CMA
    B.
    CMC
    C.
    STC
    D.
    RRC