Top 250+ Solved Mechatronics MCQ Questions Answer
Q. converts the programs written in assembly language into machine instructions.
a. machine compiler
b. interpreter
c. assembler
d. converter
Q. The instructions like MOV or ADD are called as
a. op-code
b. operators
c. commands
d. none of the mentioned
Q. Instructions which won’t appear in the object program are called as
a. redundant instructions
b. exceptions
c. comments
d. assembler directives
Q. The assembler directive EQU, when used in the instruction: Sum EQU 200 does
a. finds the first occurrence of sum and assigns value 200 to it
b. replaces every occurrence of sum with 200
c. re-assigns the address of sum by adding 200 to its original address
d. assigns 200 bytes of memory starting the location of sum
Q. The purpose of the ORIGIN directive is
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
Q. The directive used to perform initialization before the execution of the code is
a. reserve
b. store
c. dataword
d. equ
Q. directive is used to specify and assign the memory required for the block of code.
a. allocate
b. assign
c. set
d. reserve
Q. When dealing with the branching code the assembler
a. replaces the target with its address
b. does not replace until the test condition is satisfied
c. finds the branch offset and replaces the branch target with it
d. replaces the target with the value specified by the dataword directive
Q. The assembler stores all the names and their corresponding values in
a. special purpose register
b. symbol table
c. value map set
d. none of the mentioned