100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Chapter 3 R163,00
Add to cart

Other

Chapter 3

 0 purchase

This is a documentation of chapter 3 questions of computer architecture.

Preview 1 out of 2  pages

  • August 29, 2023
  • 2
  • 2023/2024
  • Other
  • Unknown
All documents for this subject (3)
avatar-seller
ritomakhongela
Chapter 3 (Assembly Language Fundamentals) –Assessment
Question 1

True-False
Please indicate whether each statement is True (T) or False (F).

1.1 A string literal must be enclosed in double quotes.
1.2 An identifier in assembly language may only contain letters and digits.
1.3 Identifiers are by default, case sensitive.
1.4 The PROC directive marks both the beginning and ending of a procedure.
1.5 A code name must end with a colon (:).
1.6 The SDWORD directive is used when defining signed 32-bit integers.
1.7 The .DATA directive must always occur before the .CODE directive.
1.8 In the following statement, EAX is called the source operand:
mov EBX,EAX
1.9 If the source code for an assembly language program is modified, you must run both the assembler
and linker to update the program's executable code.
1.10 An object file is commonly read as input by the linker.
1.11 A listing file contains a copy of the program’s source code, with line numbers, the numeric
address of each instruction, and a symbol table. Optionally, it may display the machine code bytes
for the program.
1.12 The listing file is generated by the linker.
1.13 The following is a valid data definition statement:
varX WORD 100h, 65536
1.14 The following is a valid data definition statement:
helloStr SWORD -32768
1.15 The EQU directive permits a constant to be redefined at any point in a program.

Question 2


2.1 Using the value -35, write it as binary and hexadecimal formats.
2.2 Yes/No: is A5h a valid hexadecimal literal?
2.3 Yes/No: Does the multiplication operator have a higher precedence than the
division operator in integer expressions?
2.4 Yes/No: must string literals be enclosed in single quotes?
2.5 What is the maximum length of an identifier?
2.6 What types of files are produced by the assembler?


Irvine, Kip R. Assembly Language for x86 Processors, 7 th Edition 1

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 EFT, 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 this summary from?

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

Will I be stuck with a subscription?

No, you only buy this summary for R163,00. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75197 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy summaries for 15 years now

Start selling
R163,00
  • (0)
Add to cart
Added