uestion: What are the reults (in decimal) of the following operations? A: 1111001000101111 multiplied by 0000001011010010 (these are signed numbers) B: 01011110110101101010010100101001 devided by 1111111111011010 (these are signed number) (hint: use idiv (signed), div (unsigned) )

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter11: Operating Systems
Section: Chapter Questions
Problem 13VE
icon
Related questions
Question

Assembly Language x86: (Micro Macro): 

templet: 
.386
.model flat, stdcall
.stack 4096
ExitProcess PROTO, dwExitCode: DWORD
.data

.code
main PROC

main ENDP
INVOKE ExitProcess, 0
END main

Question: What are the reults (in decimal) of the following operations?

A: 1111001000101111 multiplied by 0000001011010010 (these are signed numbers)

B: 01011110110101101010010100101001 devided by 1111111111011010 (these are signed number)
(hint: use idiv (signed), div (unsigned) )

 

 

 

Examples: 
Multiply:

mul bx, 10000
 mov ax, 355       
mul bx,               
                        
shl edx, 16     
mov dx, ax            

Division:
mov eax, 2000000      
mov bx, 500
mov edx, eax        

shr edx, 16            
div bx,   

Expert Solution
steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Datatypes
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning