assesmbly to c

User Generated

Fngryyvgr

Programming

Description

Hi,


I need help with assembly to c coding ………………………………….


Thanks,

Unformatted Attachment Preview

CS 410 Stepping Stone Three Guidelines and Rubric Overview: In this exercise, you will demonstrate your emerging ability to practice reverse engineering by converting assembly code to C. Prompt: The Stepping Stone Three Worksheet contains three examples of assembly code. Complete the three tables in the worksheet by providing the following: ● ● The equivalent code in C A line-by-line explanation of the function of the code Rubric Guidelines for Submission: Submit the completed worksheet. Critical Element Attempted with Minimal or No Issues (100%) Attempted with Key Issues (75%) Not Evident (0%) Value Does not convert assembly code to C code in any of the cases 50 Explains the function of the code, Does not explain the but explanations may not be function of the code in any suitably clear or complete or may of the cases have significant errors or omissions 50 Conversion Converts the assembly Converts the assembly code to C code to C code for all three code but with significant errors or cases, with no significant omissions errors or omissions Explanation Explains the function of the code clearly and completely for all cases, with no significant errors or omissions Total 100% CS 410 Stepping Stone Three Worksheet Prompt: The tables below show three examples of assembly code. Complete the tables by providing the following: • • The equivalent code in C A line-by-line explanation of the function of the code Assembly Code C Code Explanation C Code Explanation movl -8(%rbp), %eax sall $3, %eax subl $3, %eax movl %eax, -4(%rbp) Assembly Code movl sall subl leal testl cmovs sarl -8(%rbp), %eax $2, %eax $1, %eax 7(%rax), %edx %eax, %eax %edx, %eax $3, %eax movl %eax, -4(%rbp) Assembly Code movl leal testl cmovs sarl movl sall addl movl -8(%rbp), %eax 7(%rax), %edx %eax, %eax %edx, %eax $3, %eax -8(%rbp), %edx $2, %edx %edx, %eax %eax, -4(%rbp) C Code Explanation
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

At...


Anonymous
Just what I needed…Fantastic!

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Related Tags