MASM, ALU, Common Syntax , Variables, Data Segments Flashcards
What are the keywords that frame a MASM program?
What properties in a MASM program can be changed with directive statements?
What are the common data types in MASM programs?
What are the basic ALU instructions?
Common syntax rules in Assembly
How do you identify where variables are stored in memory?
How do you calculate data segment memory offsets if given a reference?
If a data segment begins at a given memory offsets, what are the addresses of each of the named variables declared in that data segment?
Where in memory are data variables stored, and how does the processor know where to find them?
This modules assembly instructions
MOV, MOVSX, MOVZX, XCHG
ADD, SUB, INC, DEC
MUL, IMUL, DIV, IDIV
CDQ (within IDIV entry)
AND, OR, XOR
CALL
(True or false) END main is a directive that tells the operating system where to begin execution of the program
True
(True/False): A MASM program must have a procedure named “main”.
False
The ‘main’ procedure can have any valid identifier, as long as the END directive properly points the assembler to start execution at that identifier address.
This directive is used to mark the beginning of the code segment in memory.
.code
(True/False): Assembly language directives execute at runtime.
False
Directives are used by the assembler prior to runtime.
(True/False): Assembly language directives can be written in any combination of uppercase and lowercase letters.
True