Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(2) consider the following instruction descritpions move R, Y assign Y to R add X, Y assigns to X the value X+)Y sub X, Y

image text in transcribed

(2) consider the following instruction descritpions move R, Y assign Y to R add X, Y assigns to X the value X+)Y sub X, Y assigns to X the value X-Y call X executes the instruction at value (address) X swap A, B interchange A with B The code fragment below show a metamorphic version of virus instructions move A, 25 add B, C add B, 30 add A,B swap A,B sub A,C sub A, 30 call A (a) Suppose at start A contains 500, B contains the value 1200 and C' contains the value 2000, determine the contents of the register after each instruction, if the final call is the call of the viral code, what address is the virus located at (b) simplify the code to remove the redundant instructions (simplest code to call the virus) (2) consider the following instruction descritpions move R, Y assign Y to R add X, Y assigns to X the value X+)Y sub X, Y assigns to X the value X-Y call X executes the instruction at value (address) X swap A, B interchange A with B The code fragment below show a metamorphic version of virus instructions move A, 25 add B, C add B, 30 add A,B swap A,B sub A,C sub A, 30 call A (a) Suppose at start A contains 500, B contains the value 1200 and C' contains the value 2000, determine the contents of the register after each instruction, if the final call is the call of the viral code, what address is the virus located at (b) simplify the code to remove the redundant instructions (simplest code to call the virus)

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

Privacy In Statistical Databases International Conference Psd 2022 Paris France September 21 23 2022 Proceedings Lncs 13463

Authors: Josep Domingo-Ferrer ,Maryline Laurent

1st Edition

3031139445, 978-3031139444

More Books

Students also viewed these Databases questions