Upgrade to remove ads
Computer Assembly Exam 3 Review
Terms in this set (13)
mov ebp, esp
sub, "size of locals in bytes"
this makes the prologue and epilogue unnecessary and this is a masm specific option
size of return address
moves the first value from the stack into the register
moves edi into the local variable
saves all the registers that will be used in the function
masm specific commands which allow C like syntax for ease is compound statements and loops
(i.e.) .if, .else, .endif, .elseif, .while, .endw, .repeat, .until, .break, .continue, &&, ||
bitwise logical operators
these include and, or, xor, and not. Specific class example, And can be used with a mask to verify if something is what it should be
These add a certain amount of zeros to the specified side of a binary set. If something gets pushed off it may go to the upper half of the register or it will push everything into the upper half. Also this may be used to increase a value by a power of two.
__l reg, #
__r reg, #
These will push whatever is in the register either right or left and if anything gets push off the specified size of the register it will loop back onto the other side
(i.e.) __r reg,#; __l reg,#
Eax is the first argument used in the multiplication and the whatever is written after the operator is the second argument.
(i.e.) ___ reg; eax*reg
this uses three registers
where eax is initially the dividend then becomes the quotient and edx is the remainder and reg is the divisor
mov eax, #
THIS SET IS OFTEN IN FOLDERS WITH...
Computer Assembly Chapter 1
Computer Assembly Chapter 2
Computer Assembly Chapter 3
YOU MIGHT ALSO LIKE...
programming ch. 5
Intro to C++ - Chapter 6
Exam 2 COP3223 Whiting
OTHER SETS BY THIS CREATOR
New Words: October 2016
Possession Lesson 1
Discrete Math Final
Linear Algebra Final Review