100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
COS2621 Summary for Prescribed Book and NASM for DOS-Box $3.89   Add to cart

Summary

COS2621 Summary for Prescribed Book and NASM for DOS-Box

  • Course
  • Institution
  • Book

COS2621 summary for the prescribed book. Summary of NASM (assembly language) bit manipulation and useful keywords.

Preview 4 out of 116  pages

  • No
  • Chapter 1 to 9, 11 and 13
  • October 20, 2023
  • 116
  • 2022/2023
  • Summary
avatar-seller

Available practice questions

Flashcards 30 Flashcards
$4.44 0 sales

Some examples from this set of practice questions

1.

Name the 4 logic instructions used in assembly for bit manipulation.

Answer: AND, OR, XOR, NOT

2.

What does the AND instruction do?

Answer: Performs a Boolean AND operation between each pair of matching bits in two operands.

3.

What does the OR instruction do?

Answer: Performs a Boolean OR operation between each pair of matching bits in two operands.

4.

What does the XOR instruction do?

Answer: Performs a Boolean exclusive-OR operation between each pair of matching bits in two operands. It is also a useful way to invert bits in an operand.

5.

What does the NOT instruction do?

Answer: Performs a Boolean NOT operation on a single destination operand.

6.

Where is the result stored of the AND, OR and XOR operations? (i.e. AND destination, source)

Answer: The result is stored in the destination, which must be a general register or a memory location.

7.

Fill in the blank. The Destination and Source cannot both be ____________.

Answer: memory locations

8.

What flags are effected by AND, OR and XOR instructions?

Answer: Zero flag (ZF), Sign flag (SF), Parity flag (PF) are affected. carry flag (CF) and overflow flag (OF) are cleared. AF is undefined

9.

Name the 4 instructions used to clear a registry.

Answer: MOV, SUB, AND or XOR instruction can be used to clear a registry.

10.

Name the 2 instructions used to clear a memory location.

Answer: MOV or AND instructions can be used to clear a memory location.

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller PotatoArmor. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $3.89. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

91937 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$3.89
  • (0)
  Add to cart