Skip to main content
Engineering LibreTexts

4.7: Exercises

  • Page ID
    55502
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Below are some questions based on this chapter.

    Questions

    Below are some quiz questions.

    1) What is the name of the assembler being used in this chapter?

    2) How are comments marked in an assembly language program?

    3) What is the name of the section where the initialized data declared?

    4) What is the name of the section where the uninitialized data declared?

    5) What is the name of the section where the code is placed?

    6) What is the data declaration for each of the following variables with the given values:

    1. byte sized variable bNum set to \(10_{10}\)
    2. word sized variable wNum set to \(10,291_{10}\)
    3. double-word sized variable dwNum set to \(2,126,010_{10}\)
    4. quadword sized variable qwNum set to \(10,000,000,000_{10}\)

    7) What is the uninitialized data declaration for each of the following:

    1. byte sized array named bArr with 100 elements
    2. word sized array named wArr with 3000 elements
    3. double-word sized array named dwArr with 200 elements
    4. quadword sized array named qArr with 5000 elements

    8) What are the required declarations to signify the start of a program (in the text section)?


    4.7: Exercises is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?