






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







December 08December 08
Time Æ Input 1
Input 2 Input 3
Output 1 Output 2 Output 3
InstructionStart
InstructionFinish
Mov EAX, var add EAX, var
Mov EAX, var add EAX, var
Replace:mov ESI, 0 Movmov ECX, 0EAX, var add EAX, var
With:mov EAX, var movMov ESI, 0ECX, 0 add EAX, var
Je loopout
add EAX, EBX-Or- Mov res, EAX
Cmp ECX, 10 Je loopout Add eax, ebx (1 st^ instr. After add) (2 nd^ instr. After add) Mov res, EAX