Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. We can write A/C = a 1 * 10 -1 + a 2 * 10 -2 + a 3 * 10 -3 + .... Find (a 1 )

ID: 662364 • Letter: 1

Question

1. We can write A/C = a1* 10 -1 + a2* 10 -2   + a3* 10 -3 + ....   

Find (a1)16   = _____       where all numbers and variables are in the base 16.

2.

; begin

mov m, 0100010100000000b

fcom x

fstsw ax

and ax,m

cmp ax, 0100000000000000b

jne L1

mov eax,1

jmp L2

L1: mov eax,0

L2: end

Assuming that S has a value, the partial program above will find that  

(a). S > x;     (b). S < x    (c). none of these   __________

3.

Complete the following table using only hexadecimal numbers.

ROMEO BYTE 'Good night sweet'  

Explanation / Answer

1.

a1= A/C / 10-1 + a2* 10-2 + a3* 10-3..

The above value of a1 cannot be converted in variable form into hexadecimal because variables are invalid input while converting them to hexadecimal codes.

2. None of these (c)

3. Between each of three words we have two spaces. So while converting each alphabet into hexadecimal value, we ll put the equivalent hexa value of character and also hexa value for two spaces at their respective locations.

G o o d n i g h t s w e e t 47 6f 6f 64 20 6e 69 67 68 74 20 73 77 65 65 74