PLEASE HELP IN COMPUTER ASSEMBLY AND I WILL GIVE YOU FULL POINTS 1) We can write
ID: 662214 • Letter: P
Question
PLEASE HELP IN COMPUTER ASSEMBLY AND I WILL GIVE YOU FULL POINTS
1) We can write A/C = (a1* 10)16 -1 + (a2* 10)16 -2 + (a3* 10)16 -3 + ....
Find (a1)16 = _____ where all numbers and variables are in the base 16.
2) Completely fill the table below. Use only decimal numbers.
ASSEMBLY CODE X S Y EAX (Fill in the table with X, S, Y, EAX)
mov x,222
mov s, 3
mov eax, x
div s
mul s
mov y,eax
cmp x, eax
begin: jne end
mov eax, 1
end:
3) Completely fill the table below. Use only hexadecimal numbers
AL INSTRUCTIONS EAX EBX EDX ( Fill in the table for EAX, EBX AND EDX)
mov eax, 4FEA5Dh
mov ebx, FFFFFFFFh
mov edx, eax
xor eax, ebx
add eax, 1
add eax, edx
4)
Completely fill the table below using only strings.
AL INSTRUCTIONS EAX CL X (Fill in table with EAX, CL, X)
x byte A man alone with his dog
lea ebx,x
mov eax, [ebx]
mov cl, [ebx]
add ebx,2
mov cl,[ebx]
add ebx,1
mov cl , [ebx]
add ebx,1
mov cl, [ebx]
add ebx,1
mov eax, [ebx]
add ebx,1
mov eax, [ebx]
5)
Complete the following table using only hexadecimal numbers.
PSEUDO CODE EAX AX AH AL (Fill in table with EAX, AX, AH, AL)
EAX:= 9AFEFAFDh
AH:= AL * 8Fh
AL:= AL - AH
AX:= 2h*AX
6) The largest signed 24 bits hexadecimal number that can be stored in EAX is:
EAX: hexadecimal number (There are 8 horizontal boxes in total that needs to be filled)
7) 0.45647456647456664745666647456666647456666664745666666647456666666647 ...
cannot be written as N/M where N,M are positive integers numbers. (a). True (b) False
8)
; 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 __________
9) 0.142857 - 0.076923 = N/M = (There is a line over 142857 and 076923) _________ where N, M and positive integers.
10) Complete the following table using only hexadecimal numbers.
ROMEO BYTE 'Good night sweet'
11) Translate the string (quotes not included) ?$15.32? into ASCII code:_______
Please do all questions correctly for full points and best answer.
Explanation / Answer
Answer 6: The largest signed 24 bits hexadecimal number that can be stored in EAX is:FFFFFFFF
Answer 2:
Instruction
X
S
Y
EAX
mov x,222
222
mov s,3
222
3
mov eax, x
222
3
222
div s
222
3
74
mul s
222
3
222
mov y,eax
222
3
222
222
cmp x, eax
222
3
222
222
begin: jne end
222
3
222
222
mov eax, 1
222
3
222
1
Answer 11:
The equivalent ascii for the provided string is : 63 36 49 53 46 51 50 63
Answer 7:
True
Instruction
X
S
Y
EAX
mov x,222
222
mov s,3
222
3
mov eax, x
222
3
222
div s
222
3
74
mul s
222
3
222
mov y,eax
222
3
222
222
cmp x, eax
222
3
222
222
begin: jne end
222
3
222
222
mov eax, 1
222
3
222
1
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.