This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: text of your quiz4p2.asm file into this file replacing the text of the “template” below. Copy also the screenshot of the execution of your program (see the comment in the provided template. Save the file under the name YourFirstName_YourLastName.doc and submit it using dotLRN Cours Material, Quiz#04 – submit answer link. ===== The “template” code starts after this line on the next page ===== TITLE QUIZ#04, part 2 (quiz4p2.asm) Comment ! Description: Create a macro mMove32 that receives two 32-bit memory operands. The macro moves the source operand to the destination operand. ! INCLUDE Irvine32.inc mMove32 MACRO destination, source push eax mov eax,source mov destination,eax pop eax ENDM .data var1 DWORD 12345678h var2 DWORD 0 .code main PROC mMove32 var2,var1 mov eax,var2 call DumpRegs exit main ENDP END main...
View Full Document
- Spring '10
- Assembly Language, 32-bit memory operands, dotLRN Cours Material