Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- t2_check: ;---
- ; -- your code here ---
- movsx EAX, byte[seq]
- movsx ECX, byte[seq+1]
- movsx EDX, byte[seq+2]
- sub EAX, 2
- sub ECX, 2
- sub EDX, 2
- call mul3 ;---
- _check 2 ;---
- jmp task_3 ;--- jump over to 'task_3' to avoid
- ; running into the mul3 function
- mul3: ;---
- push EAX
- imul EAX, ECX
- imul EAX, EDX
- mov EDX, EAX
- pop EAX
- ret ; place return from subroutine here
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement