Run your program using decimal 5 as input for x provide a


This question is about converting a high-level program to the assembly level. Please use the ISA discussed in class as your reference.

a) Write an assembly program that performs the same tasks as the following high-level program code. (Using MARIE)

b) Run your program using decimal 5 as input for x. Provide a screenshot showing the result of program execution in decimal. (In the screenshot, please include some unique features, such as a path with a username or a wallpaper, that could help identify you as the owner. Please do not merely write/type your name on the screenshot.)

int x=0;

x = Integer.parseInt(in.readLine());

x=x-8;

System.out.println(x);

Request for Solution File

Ask an Expert for Answer!!
Assembly Language: Run your program using decimal 5 as input for x provide a
Reference No:- TGS02910633

Expected delivery within 24 Hours