Preview

Very Good

Good Essays
Open Document
Open Document
605 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Very Good
Computer Architecture and Assembly Language – Midterm 2011 1. In instruction ADC the operands can be o Two register only o Two register and one memory location o CF and two other operands o ZF and two other operands

2. After the execution of instruction “RET” o SP is incremented by 2 o SP is decremented by 2 o SP is incremented by 1 o SP is decremented by 1

3. The extended ASCII has o 64 characters o 128 characters o 256 characters o 502 characters

4. The second byte in the word designated for screen location holds o The dimension of the screen o Character position on the screen o Character color on the screen o ACSII code of the character

5. REP will always o Incremented CX by 1 o Incremented CX by 2 o Decremented CX by 1 o Decremented CX by 2

6. The routine that executes in response to an INT instruction is called o ISR o IRS o ISP o IRT

7. The iAPX888 architecture consists of _______ register. o 12 o 14 o 16 o 18

8. In the instruction “CMP AX,BX” the contents of o AX are changed o BX are changed not conformed o CX are changed o Flag register are changed

9. All the addressing mechanisms iniAPX88 return a number called ______ address. o effective o faulty o indirect o direct

10. The execution of the instruction “mov word [ES: DI], 0x0720” o will clear next character on screen o will print “20” at top left of the screen o will print “20” at top right of the screen o will move DI at location 0720 on the screen

11. “mov byte [num1],5” is _______ instruction. o legal o illegal o stack based o memory indirect

12. MOV instruction transfers a byte or word from which of the following source location. o DS:DI o ES:SI o ES:DI o DS:SI

13. The execution of the instruction “mov word [ES: 0], 0x0741” will print “A” on the screen, color of the character will be o Black o White o Red o Blue

14. If AX contains FFFFh, then after execution of instruction “SAL ax, 3”, the result

You May Also Find These Documents Helpful

  • Satisfactory Essays

    NT1210 Lab 1

    • 30 Words
    • 1 Page

    NT1210 Lab 1.3 Caleb Waldemar 12/9/2014 Exercise 1.3.1 Byte 1=25, Byte 2= 233 Exercise 1.3.2 Byte 1 and 2= 6633 Exercise 1.3.3 120 MB= 125829120 Bytes Exercise 1.3.4 16GB and word size of 32 bits. Number of words= 536870912 Exercise 1.3.5 Binary 110110^ 2= Hexadecimal 36 Exercise 1.3.6…

    • 30 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    The second category of fault changes individual instructions in the text segment. These faults are intended to approximate the assembly-level manifestation of real C-level programming…

    • 285 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    6)The user must develop the section of the program that allows the user to guess the Substitute Word. If the word entered matches the Substitute Word the program will display a correct message, however, if the word entered is not – identical to the Substitute Word then an incorrect message will be presented on the screen.…

    • 553 Words
    • 3 Pages
    Good Essays
  • Better Essays

    Nt1310 Unit 1 Assignment

    • 1994 Words
    • 8 Pages

    For example, the capital letter A is ASCII character 65, the numeral 2 is ASCII 50, the character} is ASCII 125 and the metacharacter carriage return is ASCII 13. Systems based on ASCII use seven bits to represent these values digitally. In contrast, most computers store data in memory organized in eight-bit bytes. Files that contain machine-executable code and non-textual data typically contain all 256 possible eight-bit byte values. Many computer programs came to rely on this distinction between seven-bit text and eight-bit binary data, and would not function properly if non-ASCII characters appeared in data that was expected to include only ASCII text. For example, if the value of the eighth bit is not preserved, the program might interpret a byte value above 127 as a flag telling it to perform some function. It is often desirable, however, to be able to send non-textual data through text-based systems, such as when one might attach an image file to an e-mail message. To accomplish this, the data is encoded in some way, such that eight-bit data is encoded into seven-bit ASCII characters (generally using only alphanumeric and punctuation characters—the ASCII printable characters). Upon safe arrival at its destination, it is then…

    • 1994 Words
    • 8 Pages
    Better Essays
  • Powerful Essays

    As Good as It Gets 7

    • 2343 Words
    • 10 Pages

    The movie that I choose to watch was “As Good as it Gets” by James L. Brooks. The character that I will be discussing is Melvin Udall played by Jack Nicholson. Melvin Udall is a novelist from New York that is working on another one of his books. To his readers, Udall may seem to be a normal person however; he is struggling to do everything right in his life. He has the symptoms of a person dealing with obsessive-compulsive disorder. This is exemplified by his obsession with developing a loving relationship. He has not found love of his own, and that is why he is so obsessed with eating at the same restaurant in the same seat with the same waitress because this is the only steady interaction he has with another person. When the waitress is not at work one day it causes Udall to realize that he has a problem and goes to visit his therapist but since he neglected to schedule an appointment he is turned away which causes more anxiety. With the anxiety of not having his usually scheduled meal at the restaurant, he finds out where the waitress lives to go talk to her and tell her how she messed up his day. When Udall arrives at the waitresses home, Udall find out that the reason Carol was not at work is because her son suffers from a sever case of asthma that causes him to be really sickly. Though Udall had at one point made rude comments about Carol’s son’s health he later pays for the young boy to be seen by a good doctor, which happens to be his publisher’s husband. The only stipulation is that Carol return to work in order for the medical bills to be paid. Paying the medical bills is a nice gesture to Carol and she thanks Udall but he feels that her thank you letter is unnecessary; because it was something he had to do for him to have his regular meal. In another part of the movie when some strangers assault Udall’s neighbor, Simon, Udall is asked by Simon’s art manager to take Simon to…

    • 2343 Words
    • 10 Pages
    Powerful Essays
  • Powerful Essays

    Good to Great

    • 8353 Words
    • 34 Pages

    Jim Collins is a student and teacher of enduring great companies -- how they grow, how they…

    • 8353 Words
    • 34 Pages
    Powerful Essays
  • Good Essays

    Good to Great

    • 1045 Words
    • 5 Pages

    Tulsa, Oklahoma has been named the oil capital for the nation and the world for quite awhile and is a perfect place to study the energy industry. The University of Tulsa College of Business established The TU Energy Management program in September 2006 and started accepting students in the fall of 2007. The first graduating class to obtain the Energy Management major was comprised of only two students in December 2008 and May 2009. The program today is able to maintain disciplined and competitive students by having an application process but more importantly limiting up to thirty students per academic year. The TU Energy Management Program can easily be applied as a “Hedgehog Concept”. The “hedgehog concept” refers to a parable of a hedgehog and a fox, where the fox knows many things, but the hedgehog knows one big thing. “Hedgehogs” by and large built the good to great companies, which means that they were able to focus on one big important thing that made their companies great. Energy management is excelling by being able to maintain the main ideals set from the beginning. Also, the “flywheel and doom loop” concepts can be related to both the good to great companies but more importantly the energy management program. These two concepts can represent positive and negative momentum. The “flywheel” concept is when the program has everything in place, lots of hard work slowly but steadily forced the companies going faster and faster, with a lot of momentum. And the “doom loop” concept is when times have changed and a hard decision is needed to be made to keep the program going in a forward direction. It is always important to know where the program has been and the direction the program is heading to keep the success going.…

    • 1045 Words
    • 5 Pages
    Good Essays
  • Good Essays

    good

    • 265 Words
    • 2 Pages

    Content 1. Does the essay fulfill the assignment (i.e. does it effectively and thoroughly explore the topic you chose to write about?) 5 4 3 2 1 2. Does the essay contain a strong controlling idea that is supported by details and examples? 5 4 3 2 1 3.…

    • 265 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Unit 4 Study guide

    • 344 Words
    • 2 Pages

    6. State the steps that the SUBB instruction will go through for each of the following:…

    • 344 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Good

    • 1543 Words
    • 7 Pages

    The four macromolecules that are essential to life are Carbohydrates, Lipids, Proteins, and Nucleic Acids.…

    • 1543 Words
    • 7 Pages
    Good Essays
  • Satisfactory Essays

    Good

    • 424 Words
    • 2 Pages

    I really think when a person is using use the five problem-solving stages of conflict resolution, there should be nothing but a positive outcome in any situation. I also believe that if it doesn’t want out that you probably really didn’t want to give another chance to solve the conflict.…

    • 424 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Mobile Cloning

    • 4981 Words
    • 20 Pages

    executable machine code. To do this successfully the human readable code must c omply with…

    • 4981 Words
    • 20 Pages
    Good Essays
  • Satisfactory Essays

    embedded

    • 1074 Words
    • 5 Pages

    o The high order byte is taken to be $00. This is how you access the…

    • 1074 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    bvjnmk,l

    • 2025 Words
    • 9 Pages

    academic year and field of study, the name of your school on screen and your mobile…

    • 2025 Words
    • 9 Pages
    Satisfactory Essays
  • Good Essays

    good

    • 980 Words
    • 4 Pages

    I / We understand that Plagiarism is the act of taking and using the whole or any part of another person’s work and presenting it as my/ our own without proper acknowledgement.…

    • 980 Words
    • 4 Pages
    Good Essays

Related Topics