9.C MULTIPLICATION ALGORITHM a) Start the program b) Allocate some space for the result in data segment c) In code segment,store accumulator with some value d) Store B register with some value e) Multiply the register content with accunulator f) Result is stored in accumulator g) The result is stored in required memory location h) Stop the program. SOURCE CODE Stat mov AX 0SH mov BX 03H MUL AX BX end: HLT SAMPLE INPUTS & OUTPUTS INPUT: 0006H, O0004H OUTPUT: 0018H

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

using 8086

9.C MULTIPLICATION
ALGORITHM
a) Start the program
b) Allocate some space for the result in data segment
c) In code segment,store accumulator with some value
d) Store B register with some value
e) Multiply the register content with accumulator
f) Result is stored in accumulator
g) The result is stored in required memory location
h) Stop the program.
SOURCE CODE
Start: mov AX 05H
mov BX 03H
MUL AX,BX
end: HLT
SAMPLE INPUTS & OUTPUTS
INPUT: 0006H, 0004H
OUTPUT: 0018H
Transcribed Image Text:9.C MULTIPLICATION ALGORITHM a) Start the program b) Allocate some space for the result in data segment c) In code segment,store accumulator with some value d) Store B register with some value e) Multiply the register content with accumulator f) Result is stored in accumulator g) The result is stored in required memory location h) Stop the program. SOURCE CODE Start: mov AX 05H mov BX 03H MUL AX,BX end: HLT SAMPLE INPUTS & OUTPUTS INPUT: 0006H, 0004H OUTPUT: 0018H
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Concept of memory addresses in pointers
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