Chapter 3 Flashcards

1
Q

What are the types of integer values in assembly language?

A

Binary, decimal, hexadecimal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are arithmetic expressions used for in assembly language?

A

Perform calculations using integer values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How are character literals stored in assembly?

A

In ASCII format

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How are strings represented in assembly?

A

Enclosed in single or double quotes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are reserved words in assembly language?

A

Instructions like MOV, ADD, MUL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are identifiers in assembly language?

A

User-defined variable names

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a key difference between NASM and MASM assemblers?

A

They differ in syntax

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are labels in assembly language?

A

Memory locations referenced by name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are symbolic constants defined with in assembly language?

A

EQU directive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the data types available in assembly language?

A
  • sbyte (signed byte) * sword (signed word) * sdword (signed doubleword) * real4 (single precision float) * real8 (double precision float)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does little-endian mean?

A

Least significant byte stored first

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does big-endian mean?

A

Most significant byte stored first

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does the code section in assembly contain?

A

Instructions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does the data section in assembly store?

A

Variables and constants

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How do you define arrays in assembly?

A

Using BYTE, WORD, DWORD, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly