View Single Post
  #1  
Old 10-01-2022, 16:10
Zeocrack Zeocrack is offline
Friend
 
Join Date: Sep 2022
Location: Bangladesh
Posts: 26
Rept. Given: 2
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 76
Thanks Rcvd at 7 Times in 2 Posts
Zeocrack Reputation: 0
Post C++ to masm conversion

Dear all
What could be the easiest source in masm for the below c++ code?

For i=222222 to 999999
C1=i[1]
C2=i[2]
C3=i[3]
C4=i[4]
C5=i[5]
C6=i[6]
Calcul=C1^6+C2^6+C3^6+C3¨6+C4^6+C5^6+C6^6
if Calcul=serial then
Msgbox("sérial" & i)

Exit
end if
Next i
Reply With Quote