Provide code converting a fahrenheit to a celsius


Problem

A. For each instruction, give the 80x86 opcode and total number of bytes of object code, including prefix bytes. Assume you are in 64-bit mode and that word0p, dbl0p, and quad0p reference a word, doubleword and quadword in data, respectively.

a. Add ax, word0p
b. Sub dbl0p, ebx
c. Sub rax, 10
d. Add quad0p, 1000
e. Inc r10b
f. Dec word0p
g. Neg rdx
h. Inc QWORD PTR [rdx]

B. Provide code converting a Fahrenheit to a Celsius using the registers edx and eax?

C. Write the commands (declarations) to setup a 2-byte and 4-byte GPS location.

D. Is the following code valid? Why or why not:

a. mov eax, [ebx-ecx] ;
b. mov [eax+esi+edi], ebx ;
c. cmp eax, edx ;
d. xor ecx, ecx ;
e. inc eax ;

E. What does the following code do?

a. Push ebp ;
b. Mov ebp, esp ;
c. Push ebx ;

F. Provide code for the following scenario:

a. Create a while loop that that checks for 4 iteractions
b. Create jumps and labels for each case
c. Provide an exitcode along with possible return codes.

The response should include a reference list. One-inch margins, Using Times New Roman 12 pnt font, double-space and APA style of writing and citations.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Provide code converting a fahrenheit to a celsius
Reference No:- TGS03102883

Expected delivery within 24 Hours