You are on page 1of 1

Next Rep.

Date question r Base Date nbd Rndmz answer


5/26/2008 <<<<<<<<<<FORMULA ROW >>>>>>>>>>> 1 5/22/2008 4/9/2015 0 <<<<<<<<<<<<FORMULA ROW >>>>>>>>>>>

1/1/1900 The stack register contains the ... of the top of the stack. 0 4/11/2015 1 address
In the general form of memory addressing, when we use an offset for Base Pointer
1/1/1900 0 4/11/2015 9
"address_or_offset" we are using the ... Addressing Mode.
In the general form of memory addressing, when we use an address for Indexed
1/1/1900 0 4/11/2015 5
"address_or_offset" we are using the ... Addressing Mode.
1/1/1900 The stack resides in the very ... addresses of memory. 0 4/11/2015 5 top

6/5/2008 %esp is the ... register. 2 5/29/2008 4/6/2015 8 stack

6/7/2008 A symbol is replaced by something else during ... or linking 3 5/26/2008 4/1/2015 5 assembly
Assembler directives or pseudo-operations are handled by the assembler and are computer
6/7/2008 3 5/26/2008 4/1/2015 4
not actually run by the ...
6/7/2008 Text that starts with a period is an instruction to the ... itself. 3 5/26/2008 4/1/2015 6 assembler

6/7/2008 The return address is the address of the next ... in the calling code. 3 5/26/2008 4/1/2015 9 instruction
.global means that the assembler shouldn't discard the following symbol after linker
6/7/2008 3 5/26/2008 4/1/2015 1
assembly, because the ... will need it.
6/7/2008 Text starting with a period is called an assembler ... 3 5/26/2008 4/1/2015 3 directive

6/7/2008 _start is a ... 3 5/26/2008 4/1/2015 5 symbol

6/7/2008 3 5/26/2008 4/1/2015 3 period


Text starting with a ... isn't directly translated into a machine instruction.
6/5/2008 ... Addressing Mode is: movl 4(%ebx), %eax 2 5/29/2008 4/6/2015 7 Base Pointer
The general form of memory address references is: address_or_offset(% multiplier
6/5/2008 2 5/29/2008 4/6/2015 9
base_or_offset, %index, ...)
6/5/2008 ... Addressing Mode is: movl %eax, %ebx 2 5/29/2008 4/6/2015 0 Direct

6/5/2008 How do you access the second local variable in a function? 2 5/29/2008 4/6/2015 2 -8(%ebp)

6/4/2008 In a function, what does the Base Pointer (%ebp) contain? 0 6/2/2008 4/11/2015 5 The value of the previous stack frame's base pointer.
The ... (two words) register is a special register used for accessing the function Base Pointer
6/5/2008 2 5/29/2008 4/6/2015 2
parameters and local variables.
A function's name is a ... that represents the address where the function code symbol
6/4/2008 0 6/2/2008 4/11/2015 7
starts.
6/4/2008 movl 1, %eax moves the ... 1 into the %eax register. (sentence) 1 5/31/2008 4/9/2015 3 contents of memory location

6/4/2008 A function's name is defined by typing it as a ... just before the function's code. 1 5/31/2008 4/9/2015 1 label

6/4/2008 ... Addressing Mode is: movl $12, %eax 1 5/31/2008 4/9/2015 9 Immediate

6/11/2008 How do you access the second parameter in a function? 4 5/21/2008 3/23/2015 10 12(%ebp)
The ... is the program that is responsible for putting the object files together and linker
6/7/2008 3 5/26/2008 4/1/2015 3
adding information to it so that the kernel knows how to load and run it.
6/7/2008 The stack frame consists of ..., local variables and return address. 3 5/26/2008 4/1/2015 2 parameters

6/7/2008 Direct Addressing Mode is: ... %eax, %ebx 3 5/26/2008 4/1/2015 2 movl

6/7/2008 ... Addressing Mode is: movl (%ebx), %eax 3 5/26/2008 4/1/2015 7 Indirect
An ... file is code that is in the machine's language but has not been completely put object
6/7/2008 3 5/26/2008 4/1/2015 10
together.
6/7/2008 A ... is a symbol followed by a colon. 3 5/26/2008 4/1/2015 8 label

6/7/2008 ... (code term) defines the value of the _start label. 3 5/26/2008 4/1/2015 7 _start:
Labels tell the assembler to make the symbol's value be wherever the next ... or instruction
6/7/2008 3 5/26/2008 4/1/2015 7
data element will be.
6/7/2008 _start is a special symbol that always needs to be marked with ... 3 5/26/2008 4/1/2015 4 .global
The general form of memory address references is: address_or_offset(% %index
6/7/2008 3 5/26/2008 4/1/2015 1
base_or_offset, ..., multiplier)
6/7/2008 Labels define a ... value. 3 5/26/2008 4/1/2015 9 symbol's
The general form of memory address references is: ...(%base_or_offset, %index, address_or_offset
6/7/2008 3 5/26/2008 4/1/2015 8
multiplier)
6/11/2008 Indirect Addressing Mode is: movl (...), %eax 4 5/21/2008 3/23/2015 8 %ebx

6/11/2008 The stack frame consists of parameters, local variables and ... address. 4 5/21/2008 3/23/2015 7 return

6/11/2008 Immediate Addressing Mode is: movl ..., %eax 4 5/21/2008 3/23/2015 3 $12
In most large programs there will be several ... files that are each converted into source (one object file for one source file)
6/11/2008 4 5/21/2008 3/23/2015 0
an object file.
6/11/2008 Indexed Addressing Mode is: movl start_str(, ..., 1), %ebx 4 5/21/2008 3/23/2015 7 %eax

6/11/2008 The stack frame consists of parameters, ... variables and return address. 4 5/21/2008 3/23/2015 3 local
The second thing that the call instruction does is it modifies the instruction pointer start
6/4/2008 3 5/23/2008 4/1/2015 4
(%esp) to point at the ... of the called function.
The first thing that the call instruction does is, it pushes the address of the ... instruction
6/4/2008 3 5/23/2008 4/1/2015 7
following the call instruction onto the stack.
6/4/2008 movl $1, %eax moves ... into the %eax register. (sentence) 3 5/23/2008 4/1/2015 3 the number 1

6/4/2008 Operating system features are accessed through ... calls. 3 5/23/2008 4/1/2015 1 system

6/4/2008 The stack ... consists of all the stack variables used within a function. 3 5/23/2008 4/1/2015 4 frame

6/4/2008 ... Addressing Mode is: movl start_str(, %eax, 1), %ebx 3 5/23/2008 4/1/2015 8 Indexed

6/4/2008 At the time a function starts the stack pointer points at the ... address. 3 5/23/2008 4/1/2015 7 return

6/4/2008 How do you access the return address from a function? 3 5/23/2008 4/1/2015 1 4(%ebp)

6/4/2008 Base Pointer Addressing Mode is: movl ...(%ebx), %eax 3 5/23/2008 4/1/2015 10 4 (any whole number)

6/5/2008 Symbols are generally used to mark ... of programs or data. 3 5/24/2008 4/1/2015 8 locations
The general form of memory address references is: address_or_offset(..., %index, %base_or_offset
6/7/2008 3 5/26/2008 4/1/2015 1
multiplier)

You might also like