Zusammenfassung
COS2621 Summary for Prescribed Book and NASM for DOS-Box
- Kurs
- Hochschule
- Book
COS2621 summary for the prescribed book. Summary of NASM (assembly language) bit manipulation and useful keywords.
[ Mehr anzeigen ]Vorschau 4 aus 116 Seiten
Einige Beispiele aus dieser Reihe der Übungsfragen
1.
Name the 4 logic instructions used in assembly for bit manipulation.
Antwort: AND, OR, XOR, NOT
2.
What does the AND instruction do?
Antwort: Performs a Boolean AND operation between each pair of matching bits in two operands.
3.
What does the OR instruction do?
Antwort: Performs a Boolean OR operation between each pair of matching bits in two operands.
4.
What does the XOR instruction do?
Antwort: 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?
Antwort: 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)
Antwort: 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 ____________.
Antwort: memory locations
8.
What flags are effected by AND, OR and XOR instructions?
Antwort: 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.
Antwort: MOV, SUB, AND or XOR instruction can be used to clear a registry.
10.
Name the 2 instructions used to clear a memory location.
Antwort: MOV or AND instructions can be used to clear a memory location.
Stuvia Verkäufer haben mehr als 700.000 Zusammenfassungen beurteilt. Deshalb weißt du dass du das beste Dokument kaufst.
Man bezahlt schnell und einfach mit iDeal, Kreditkarte oder Stuvia-Kredit für die Zusammenfassungen. Man braucht keine Mitgliedschaft.
Deine Mitstudenten schreiben die Zusammenfassungen. Deshalb enthalten die Zusammenfassungen immer aktuelle, zuverlässige und up-to-date Informationen. Damit kommst du schnell zum Kern der Sache.
Du erhältst eine PDF-Datei, die sofort nach dem Kauf verfügbar ist. Das gekaufte Dokument ist jederzeit, überall und unbegrenzt über dein Profil zugänglich.
Unsere Zufriedenheitsgarantie sorgt dafür, dass du immer eine Lernunterlage findest, die zu dir passt. Du füllst ein Formular aus und unser Kundendienstteam kümmert sich um den Rest.
Stuvia ist ein Marktplatz, du kaufst dieses Dokument also nicht von uns, sondern vom Verkäufer PotatoArmor. Stuvia erleichtert die Zahlung an den Verkäufer.
Nein, du kaufst diese Zusammenfassung nur für $3.95. Du bist nach deinem Kauf an nichts gebunden.
4.6 Sterne auf Google & Trustpilot (+1000 reviews)
45.681 Zusammenfassungen wurden in den letzten 30 Tagen verkauft
Gegründet 2010, seit 14 Jahren die erste Adresse für Zusammenfassungen