100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4.2 TrustPilot
logo-home
Otro

Chapter 3

Puntuación
-
Vendido
-
Páginas
2
Subido en
29-08-2023
Escrito en
2023/2024

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

Institución
Grado








Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
Grado

Información del documento

Subido en
29 de agosto de 2023
Número de páginas
2
Escrito en
2023/2024
Tipo
Otro
Personaje
Desconocido

Temas

Vista previa del contenido

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
$10.02
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada

Conoce al vendedor
Seller avatar
ritomakhongela

Conoce al vendedor

Seller avatar
ritomakhongela University of Limpopo
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
0
Miembro desde
2 año
Número de seguidores
0
Documentos
3
Última venta
-

0.0

0 reseñas

5
0
4
0
3
0
2
0
1
0

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes