COA Final Chapter 15 questions
and answers(graded A+)
True - answer NASM has the advantage of being free and open source, and
is popular for use on Linux and UNIX operating systems.
True - answer Assembly language programming shows how data are
represented in memory.
False - answer A processor cannot understand or execute machine
instructions.
False - answer An assembler is distinguished from a compiler by the fact
that each input statement does not, in general, correspond to a single
machine instruction or fixed sequence of instructions.
True - answer Assembly language is hardware dependent, with a different
assembly language for each type of processor.
False - answer It is not necessary for an assembly language programmer
to understand the computer's architecture
True - answer Writing code in assembly language takes much longer than
writing in a high-level language.
True - answer Assembly code is more difficult to debug and verify because
there are more possibilities for errors than in high-level code.
False - answer Assembly code is not platform-specific.
False - answer For immediate addressing, the name of the register is used
in the instruction.
, True - answer All assembly languages allow the placement of comments in
the program.
True - answer The comment begins with a special character that signals to
the
assembler that the rest of the line is a comment and is to be ignored by
the assembler.
False - answer In essence, macros are handled by the hardware at run
time, whereas subroutines are handled by the assembler at assembly
time.
True - answer The disadvantage of binding memory references to specific
addresses
prior to loading is that the resulting load module can only be placed in one
region of main memory.
True - answer A linker that produces a relocatable load module is often
referred to as a linkage editor.
assembler - answer ________ is a program that translates assembly
language into machine code.
loader - answer __________ is a program routine that copies an executable
program into memory for execution.
executable code - answer Software in a form that can be run in the
computer is __________.
instruction set - answer The __________ is a collection of all possible
instructions for a particular computer.
and answers(graded A+)
True - answer NASM has the advantage of being free and open source, and
is popular for use on Linux and UNIX operating systems.
True - answer Assembly language programming shows how data are
represented in memory.
False - answer A processor cannot understand or execute machine
instructions.
False - answer An assembler is distinguished from a compiler by the fact
that each input statement does not, in general, correspond to a single
machine instruction or fixed sequence of instructions.
True - answer Assembly language is hardware dependent, with a different
assembly language for each type of processor.
False - answer It is not necessary for an assembly language programmer
to understand the computer's architecture
True - answer Writing code in assembly language takes much longer than
writing in a high-level language.
True - answer Assembly code is more difficult to debug and verify because
there are more possibilities for errors than in high-level code.
False - answer Assembly code is not platform-specific.
False - answer For immediate addressing, the name of the register is used
in the instruction.
, True - answer All assembly languages allow the placement of comments in
the program.
True - answer The comment begins with a special character that signals to
the
assembler that the rest of the line is a comment and is to be ignored by
the assembler.
False - answer In essence, macros are handled by the hardware at run
time, whereas subroutines are handled by the assembler at assembly
time.
True - answer The disadvantage of binding memory references to specific
addresses
prior to loading is that the resulting load module can only be placed in one
region of main memory.
True - answer A linker that produces a relocatable load module is often
referred to as a linkage editor.
assembler - answer ________ is a program that translates assembly
language into machine code.
loader - answer __________ is a program routine that copies an executable
program into memory for execution.
executable code - answer Software in a form that can be run in the
computer is __________.
instruction set - answer The __________ is a collection of all possible
instructions for a particular computer.