V1Questions - Questions Projects and Laboratory Exercises...

Info icon This is a preview. Sign up to view the full content.

View Full Document Right Arrow Icon
Questions, Projects, and Laboratory Exercises Beta Draft - Do not distribute © 2001, By Randall Hyde Page 119 Chapter Five Questions, Projects, and Lab Exercises 5.1 Questions 1) List the legal forms of a boolean expression in an HLA IF statement. 2) What data type do you use to declare a a) 32-bit signed integer? b) 16-bit signed integer? c) 8-bit signed integer? 3) List all of the 80x86: a) 8-bit general purpose registers. b) 16-bit general purpose registers. c) 32-bit general purpose registers. 4) Which registers overlap with a) ax? b) bx? c) cx? d) dx? e) si? f) di? g) bp? h) sp? 5) In what register does the condition codes appear? 6) What is the generic syntax of the HLA MOV instruction? 7) What are the legal operand formats for the MOV instruction? 8) What do the following symbols denote in an HLA boolean expression? 9) Collectively, what do we call the carry, overflow, zero, and sign flags? 10) What high level language control structures does HLA provide?
Image of page 1
Chapter Five Volume One Page 120 © 2001, By Randall Hyde Beta Draft - Do not distribute 11) What does the nl symbol represent? 12) What routine would you call, that doesn’t require any parameters, to print a new line on the screen? 13) If you wanted to print a nicely-formatted column of 32-bit integer values, what standard library routines could you call to achieve this? 14) The stdin.getc() routine does not allow a parameter. Where does it return the character it reads from the user? 15) When reading an integer value from the user via the stdin.geti X routines, the program will stop with an exception if the user enters a value that is out of range or enters a value that contains illegal characters. How can you trap this error 16) What is the difference between the stdin.ReadLn() and stdin.FlushInput() procedures?
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern