[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.9

Interpreting some Assembly code

Asked by thydzik in Assembly Programming Language, Algorithms, C Programming Language

Tags: Intel Assembly x86

Code some one help me with what the following code is trying to achieve

Thanks
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
0A84:0210 8B5E06         MOV       BX,WORD PTR [BP+06]  
0A84:0213 0307           ADD       AX,WORD PTR [BX]  
0A84:0215 135702         ADC       DX,WORD PTR [BX+02]  
0A84:0218 2D885B         SUB       AX,5B88  
0A84:021B 81DA9528       SBB       DX,2895  
0A84:021F 0146FC         ADD       WORD PTR [BP-04],AX  
0A84:0222 1156FE         ADC       WORD PTR [BP-02],DX  
0A84:0225 8B46FC         MOV       AX,WORD PTR [BP-04]  
0A84:0228 8B56FE         MOV       DX,WORD PTR [BP-02]  
0A84:022B B107           MOV       CL,07  
0A84:022D D1E0           SHL       AX,1  
0A84:022F D1D2           RCL       DX,1  
0A84:0231 FEC9           DEC       CL  
0A84:0233 75F8           JNZ       022D  
0A84:0235 8B4EFC         MOV       CX,WORD PTR [BP-04]  
0A84:0238 8B5EFE         MOV       BX,WORD PTR [BP-02]  
0A84:023B 8BF1           MOV       SI,CX  
0A84:023D B119           MOV       CL,19  
0A84:023F D1EB           SHR       BX,1  
0A84:0241 D1DE           RCR       SI,1  
0A84:0243 FEC9           DEC       CL  
0A84:0245 75F8           JNZ       023F  
0A84:0247 0BC6           OR        AX,SI  
0A84:0249 0BD3           OR        DX,BX  
0A84:024B 8946FC         MOV       WORD PTR [BP-04],AX  
0A84:024E 8956FE         MOV       WORD PTR [BP-02],DX  
0A84:0251 8B46F8         MOV       AX,WORD PTR [BP-08]  
0A84:0254 8B56FA         MOV       DX,WORD PTR [BP-06]  
0A84:0257 0146FC         ADD       WORD PTR [BP-04],AX  
0A84:025A 1156FE         ADC       WORD PTR [BP-02],DX  
0A84:025D 3346F4         XOR       AX,WORD PTR [BP-0C]  
0A84:0260 3356F6         XOR       DX,WORD PTR [BP-0A]  
0A84:0263 2346FC         AND       AX,WORD PTR [BP-04]  
0A84:0266 2356FE         AND       DX,WORD PTR [BP-02]  
0A84:0269 3346F4         XOR       AX,WORD PTR [BP-0C]  
0A84:026C 3356F6         XOR       DX,WORD PTR [BP-0A]
[+][-]08/06/08 03:53 AM, ID: 22168785Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Assembly Programming Language, Algorithms, C Programming Language
Tags: Intel Assembly x86
Sign Up Now!
Solution Provided By: Infinity08
Participating Experts: 3
Solution Grade: A
 
[+][-]08/06/08 01:27 AM, ID: 22168109Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/06/08 01:29 AM, ID: 22168120Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/06/08 01:32 AM, ID: 22168131Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]08/06/08 01:35 AM, ID: 22168146Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/06/08 01:41 AM, ID: 22168170Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/06/08 01:58 AM, ID: 22168240Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/06/08 04:20 PM, ID: 22176225Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]08/06/08 04:43 PM, ID: 22176338Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/06/08 07:37 PM, ID: 22176994Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/06/08 08:32 PM, ID: 22177180Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/06/08 10:57 PM, ID: 22178205Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 / EE_QW_2_20070628