Home / CSE MCQs / Assembly Language ::

CSE MCQs :: Assembly Language

  1. The instructions like MOV or ADD are called as ______
  2. A.
    OP-Code
    B.
    Operators
    C.
    Commands
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. A single two pass assembler does which of the following in the first pass
  4. A.
    It allicates space for the literals
    B.
    It computes the total length of the program
    C.
    It builds the symbol table for the symbols and their values
    D.
    All of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. DEBUG is able to troubleshoot only
  6. A.
    .EXE files
    B.
    .OBJ files
    C.
    .EXE file and .OBJ file
    D.
    .EXE flie and .LST file

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. The purpose of the ORIGIN directive is __________
  8. A.
    To indicate the starting position in memory, where the program block is to be stored
    B.
    To indicate the starting of the computation code
    C.
    To indicate the purpose of the code
    D.
    To list the locations of all the registers used

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. The last statement of the source program should be _______
  10. A.
    Stop
    B.
    Return
    C.
    OP
    D.
    End

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. In a two pass assembler, adding literals to literal table and address resolution of local symbols are done using?
  12. A.
    First pass and second respectively
    B.
    Both second pass
    C.
    Second pass and first respectively
    D.
    Both first pass

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. A machine language instruction format consists of
  14. A.
    Operand field
    B.
    Operation code field
    C.
    Operation code field & operand field
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. The listing file is identified by
  16. A.
    source file name
    B.
    extension .LSF
    C.
    source file name and an extension .LSF
    D.
    source file name and an extension .LST

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. The extension file that is must for a file to be accepted by the LINK as a valid object file is
  18. A.
    .OBJ file
    B.
    .EXE file
    C.
    .MASM file
    D.
    DEBUG file

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. What is the content of Stack Pointer?
  20. A.
    Address of the current instruction
    B.
    Address of the next instruction
    C.
    Address of the top element of the stack
    D.
    None of these

    View Answer

    Workspace

    Discuss Discuss in Forum