; Deslocar o num1 à direita clc push dword[nDoubles] push num1 call shift_right add esp, 8 ; Deslocar o A e o Q à direita clc push dword[nDoubles] push A call shift_right inc esp inc esp inc esp inc esp push Q call shift_right add esp, 8 ; shift_right(num, nDoubles) ; num -> [ebp+8] ; nDoubles -> [ebp+12] shift_right: push ebp mov ebp, esp mov ecx, [ebp+12] mov ebx, [ebp+8] ciclo_roda: rcr dword[ebx] inc ebx inc ebx inc ebx inc ebx loop ciclo_roda pop ebp ret