logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Language Processors Comments

  • Question
  • Convert the 080D4E machine language instructions into assembly language, assuming that they were not generated by pseudo-ops:


  • Options
  • A. ASRA
  • B. LOADA h#OD4E, i
  • C. STOREA h#014B, d
  • D. ADDA h#01FE, i

  • Correct Answer
  • LOADA h#OD4E, i 


  • Language Processors problems


    Search Results


    • 1. A system program that combines the separately compiled modules of a program into a form suitable for execution

    • Options
    • A. assembler
    • B. linking loader
    • C. cross compiler
    • D. load and go
    • Discuss
    • 2. The macro processor must perform

    • Options
    • A. recognize macro definitions and macro calls
    • B. save the macro definitions
    • C. expand macro calls and substitute arguments
    • D. All of the above
    • Discuss
    • 3. In analyzing the compilation of PL/I program, the term "Machine independent optimization" is associated with

    • Options
    • A. recognition of basic syntactic constructs through reductions
    • B. recognition of basic elements and creation of uniform symbols
    • C. creation of more optional matrix
    • D. use of macro processor to produce more optimal assembly code
    • Discuss
    • 4. The function(s) of the Storage Assignment is/are:

    • Options
    • A. to assign storage to all variables referenced in the source program
    • B. to assign storage to all temporary locations that are necessary for intermediate results
    • C. to assign storage to literals, and to ensure that the storage is allocated and appropriate locations are initialized
    • D. All of the above
    • Discuss
    • 5. Advantage(s) of using assembly language rather than machine language is/are:

    • Options
    • A. It is mnemonic and easy to read
    • B. Addresses any symbolic, not absolute
    • C. Introduction of data to program is easier
    • D. All of the above
    • Discuss
    • 6. In an absolute loading scheme, which loader function is accomplished by assembler

    • Options
    • A. Reallocation
    • B. Allocation
    • C. Linking
    • D. Loading
    • Discuss
    • 7. A relocate program form is the one which

    • Options
    • A. cannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation
    • B. consists of a program and relevant information for its relocation
    • C. can itself perform the relocation of its address-sensitive portions
    • D. All of the above
    • Discuss
    • 8. Which table is a permanent databases that has an entry for each terminal symbol?

    • Options
    • A. Terminal table
    • B. Literal table
    • C. Identifier table
    • D. Reductions
    • Discuss
    • 9. Which of the following system program forgoes the production of object code to generate absolute machine code and load it into the physical main storage location from which it will be executed immediately upon completion of the assembly?

    • Options
    • A. two pass assembler
    • B. load-and-go assembler
    • C. macroprocessor
    • D. compiler
    • Discuss
    • 10. When a computer is first turned on or restarted, a special type of absolute loader, called a ______ is executed

    • Options
    • A. loader
    • B. linker
    • C. bootstrap loader
    • D. None of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment