Help me with Assembly Language questions

FratBro23
Category:
Programming
Price: $5 USD

Question description

Please ignore the dots/periods and only fill in the boxes (made out of underscore and slashes like /__/ ).
I used the dots/periods only to fill up empty/blank space. What's under PSEUDO-CODE is each row. For number 1, Z := 4682h - 2287h is for all the rows (all 3 rows).

1.
Complete the table below. All numbers are in hex and are each stored in a word.

PSEUDO-CODE       / ASSEMBLY CODE / EAX / AX / AH / AL / Z /
Z := 4682h - 2287h / mov ax, 4682h    / ____/____/___/___/___/
......................./ sub ax, 2287h     / ____/____/___/___/___/
......................./ mov z, ax           / ____/____/___/___/___/

2.
Complete the table below. All numbers are in hex and are each stored in a word.

AL PSEUDO-CODE         / AL -CODE...............  / EAX / EDX / P / Q /
P := ff ff ff fah.........../ p dword 0ff ff ff ff fah / ____/____/___/___/
Q:= 10h.................. / q dword 10h............. / ____/____/___/___/
EAX:= P.................. / mov eax, p..............  / ____/____/___/___/
EDX:= 0.................. / mov edx, 0 .............  / ____/____/___/___/
EAX*Q.................... / mul q...................    / ____/____/___/___/

3.
Complete the table below. All numbers are in hex and are each stored in a word.

AL PSEUDO-CODE  / AL -CODE............   / EAX / EDX / N / M /
N :=ff ff ff fah....../ n dword 0ff ff ff fah / ____/____/___/___/
M:= 10h............. / m dword 10h........  / ____/____/___/___/
EAX:= N............. / mov eax, n........... / ____/____/___/___/
EDX:= 0............../ mov edx, 0..........  / ____/____/___/___/
EAX÷M.............../ div m.................. / ____/____/___/___/

4.
Complete the following table using hexadecimal numbers only :

INSTRUCTIONS ........   / 32 / 25 / 24 / 17 / 16 / 9 / 8 / 1 /
mov eax, 112937234d   /___/___/___/___/___/___/__/__/
mov ax, 9BCh........... /___/___/___/___/___/___/__/__/
mov al, 5................../___/___/___/___/___/___/__/__/
mov ah, 0Eh............. /___/___/___/___/___/___/__/__/
mov al, 2................. /___/___/___/___/___/___/__/__/

Only answers are fine because I am trying to check my answers. Thank you! 

Please have the answers filled in when showing.

Studypool has helped 1,244,100 students
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1819 tutors are online

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors