Assume no syntax errors and all partial programs are correct and can be run. Negative numbers are not accepted as final answers. 1. The largest unsigned octal number in a WORD is N8 = _________ 2....

1 answer below »
Just have to fill the papers attached


Assume no syntax errors and all partial programs are correct and can be run. Negative numbers are not accepted as final answers. 1. The largest unsigned octal number in a WORD is N8 = _________ 2. Complete the following table with hexadecimal numbers only: EAX PSEUDO CODE 32 25 24 17 16 9 8 1 EAX := 7FED90Ah AX := 3AACh AH := 2Fh AL := 250d AL := 5*AL ____ 3. 0.2365210 = N10/M10 => / N16/M16 where N10 = _____, M10 = ________ and N16 = _________ M16 = _________ . ______ 4. Solve 15 = (0.a1 a2 ...an )5 = ______________ 25 5. The additive inverse of the dword 9EFF3A16 is ______________ -- _____ 6. 0.216 => (0.a1 a2 ...an )10 = __________ 7. Write the following expression as a single floating point number: (4.35678)(0.078997) = N E M ___________ where N and M are integers. 8. Assume the instruction is carried out: fdiv st(5), st .Complete the table: REGISTER BEFORE EXECUTION AFTER EXECUTION ST 25.0 ST(1) 35.0 ST(2) 40.0 ST(3) 0 ST(4) 10.0 ST(5) 100 ST(6) 5.0 ST(7) 10.0 9. Complete the table below. Use only hexadecimal numbers only. AL INSTRUCTIONS ebx 1 2 3 4 5 6 7 8 9 10 11 mov eax, 6h mov ebx, 2E0D61Eh mov [eax], ebx mov eax, 4h mov ebx, 7942h mov [eax], ebx mov ebx, 5 mov ebx, [ebx] mov eax, 5h mov ebx, 'Ouch' mov eax, 1 mov [eax], ebx 10. Assume x = 453358 - 53322 8 and the two numbers are in a DWORD. Find x = __________ 11. Complete the table below. Use only hexadecimal numbers only. PSEUDO CODE INSTRUCTIONS AX AX:= 46FDh AX:= AX*AX AX;= AX*AX AX:=AX*AX AH:=AH*AH AL:= AL*AL AL:= AH*AL 12.Complete the table below with floating point numbers. .DATA x real4 4.0 fstp x REGISTER BEFORE EXECUTION X AFTER EXECUTION X ST 10.0 ST(1) 15.0 ST(2) 20.0 ST(3) 25.0 ST(4) ST(5) ST(6) ST(7) 13. Complete the table below. Use only hexadecimal numbers only AL CODE AX EBX STACK mov ax, 5D6h push ax pushw 3467h mov ebx,3ABCD0h push ebx pop ax pop ebx 14. Given the string ˈBirds fly!ˈ Convert this string to its ASCII VALUES: ___________ 15. Complete the following table in hexadecimal numbers only: INSTRUCTIONS eax ebx BYTES: 9 10 11 12 13 14 15 16 17 mov eax, 2ACB16h mov ebx, 9d add ebx, 1d mov [ebx], eax add [ebx], ebx add eax, ebx 16. mov n, 1 mov x, 0 begin: cmp n, 10 jg end mov eax, x add eax, n mov x, eax mov eax, n add eax, 1 mov n, eax jmp begin end: ; The partial program will finally contain in x the decimal number -------------____________ ______
Answered Same DayMay 15, 2021

Answer To: Assume no syntax errors and all partial programs are correct and can be run. Negative numbers are...

Sandeep answered on May 19 2021
147 Votes
Assume no syntax errors and all partial programs are correct and can be run.
Negative numbers are not accepted as final answers.
1. The largest unsigned oc
tal number in a WORD is N8 = (177777)
2. Complete the following table with hexadecimal numbers only:
EAX
    PSEUDO CODE
    32
    25
    24
    17
    16
    9
    8
    1
    EAX := 7FED90Ah
    0
     7
    F
    E
    D
    9
    0
    A
    AX := 3AACh
    0
    7
    F
    E
    3
    A
    A
    C
    AH := 2Fh
    0
    7
    F
    E
    2
    F
    A
    C
    AL := 250d
    0
    7
    F
    E
    2
    F
    F
    A
    AL := 5*AL
= 250 * 5
= 2EE H
    0
    7
    F
    E
    2
    2
    E
    E
____
3. 0.2365210 = N10/M10 => / N16/M16 where N10 = 23652 , M10 = 100000
and
N16 = 5C64 M16 = 186A0
______
4. Solve 15 = (0.a1 a2 ...an )5 = (0.222222222222223)5
25
5. The additive inverse of the dword 9EFF3A16 is FF6100C6
-- _____
6. 0.216 => (0.a1 a2 ...an) 10 = (0.125)10
7. Write the following expression as a single floating point number:
(4.35678)(0.078997) = N E M
where N and M are integers.
(4.35678)(0.078997) = 0.344172549gcc
= 0.3
= 3E-1
Answer: N = 3 and M=-1
8. Assume the instruction is carried out: fdiv st(5), st .Complete the table:
    REGISTER
    BEFORE EXECUTION
    AFTER EXECUTION...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here