Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C/Assembly language Question I need this assembly language to be reverse engineered to C. Let me know if you have any questions f4: pushq %r12

C/Assembly language Question

I need this assembly language to be reverse engineered to C. Let me know if you have any questions

f4: pushq %r12 movq %rdi, %r12 pushq %rbp movq %r12, %rbp pushq %rbx leaq 1(%r12), %rbx call puts movsbl (%r12), %edx testb %dl, %dl je .L15 .L17: xorl %eax, %eax movl $122, %ecx movl $97, %esi movl $.LC0, %edi call printf movzbl 0(%rbp), %edx leal -97(%rdx), %eax cmpb $25, %al ja .L11 subl $32, %edx movb %dl, 0(%rbp) .L11: movq %rbx, %rbp addq $1, %rbx movsbl -1(%rbx), %edx testb %dl, %dl jne .L17 .L15: popq %rbx popq %rbp movq %r12, %rax popq %r12 ret

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Understanding Oracle APEX 5 Application Development

Authors: Edward Sciore

2nd Edition

1484209893, 9781484209899

Students also viewed these Databases questions