100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada
logo-home
Chapter 3 $9.03
Añadir al carrito

Otro

Chapter 3

 0 veces vendidas
  • Grado
  • Institución

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

Vista previa 1 fuera de 2  páginas

  • 29 de agosto de 2023
  • 2
  • 2023/2024
  • Otro
  • Desconocido
avatar-seller
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

Los beneficios de comprar resúmenes en Stuvia estan en línea:

Garantiza la calidad de los comentarios

Garantiza la calidad de los comentarios

Compradores de Stuvia evaluaron más de 700.000 resúmenes. Así estas seguro que compras los mejores documentos!

Compra fácil y rápido

Compra fácil y rápido

Puedes pagar rápidamente y en una vez con iDeal, tarjeta de crédito o con tu crédito de Stuvia. Sin tener que hacerte miembro.

Enfócate en lo más importante

Enfócate en lo más importante

Tus compañeros escriben los resúmenes. Por eso tienes la seguridad que tienes un resumen actual y confiable. Así llegas a la conclusión rapidamente!

Preguntas frecuentes

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.

100% de satisfacción garantizada: ¿Cómo funciona?

Nuestra garantía de satisfacción le asegura que siempre encontrará un documento de estudio a tu medida. Tu rellenas un formulario y nuestro equipo de atención al cliente se encarga del resto.

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 $9.03. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

45,681 summaries were sold in the last 30 days

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

Empieza a vender
$9.03
  • (0)
Añadir al carrito
Añadido