Chapter 3 Flashcards
What are the types of integer values in assembly language?
Binary, decimal, hexadecimal
What are arithmetic expressions used for in assembly language?
Perform calculations using integer values
How are character literals stored in assembly?
In ASCII format
How are strings represented in assembly?
Enclosed in single or double quotes
What are reserved words in assembly language?
Instructions like MOV, ADD, MUL
What are identifiers in assembly language?
User-defined variable names
What is a key difference between NASM and MASM assemblers?
They differ in syntax
What are labels in assembly language?
Memory locations referenced by name
What are symbolic constants defined with in assembly language?
EQU directive
What are the data types available in assembly language?
- sbyte (signed byte) * sword (signed word) * sdword (signed doubleword) * real4 (single precision float) * real8 (double precision float)
What does little-endian mean?
Least significant byte stored first
What does big-endian mean?
Most significant byte stored first
What does the code section in assembly contain?
Instructions
What does the data section in assembly store?
Variables and constants
How do you define arrays in assembly?
Using BYTE, WORD, DWORD, etc.