1- Write an 8086 assembly language program to multiply the contents of the registers CL & BL by using repeated addition and store the result in AX.

Electric Motor Control
10th Edition
ISBN:9781133702818
Author:Herman
Publisher:Herman
Chapter22: Sequence Control
Section: Chapter Questions
Problem 6SQ: Draw a symbol for a solid-state logic element AND.
icon
Related questions
Question
1- Write an 8086 assembly language program to multiply the contents of the registers CL & BL
by using repeated addition and store the result in AX.
2- Write a short sequence of instructions that subtracts the numbers in DI, SI, and BP from the
AX register. Store the difference in register BX.
3- Write a short sequence of instructions that cube the 8-bit numbers found in DL. Load DL
with a 5 initially, and make sure that your results is a 16-bit number.
4- Determine the contents of the registers and the carry flag after execution the following
program:
MOV AX, 5
MOV BL, 7
MOV CX, 4823H
MUL BL
ААМ
OR AX, 3030H
OR CX, 0600H
AND CX, OFFFCH
XOR CX, 1000Н
ADD CH, CL
5- Determine the contents of the registers and the carry flag after execution the following
рrogram:
MOV AX, 198
MOV CX, 100
MOV DX, 0
DIV CX
AAM
ADD AX, 3030H
MOV BX, AX
XCHG AX, DX
AAM
ADD AX, 3030H
Transcribed Image Text:1- Write an 8086 assembly language program to multiply the contents of the registers CL & BL by using repeated addition and store the result in AX. 2- Write a short sequence of instructions that subtracts the numbers in DI, SI, and BP from the AX register. Store the difference in register BX. 3- Write a short sequence of instructions that cube the 8-bit numbers found in DL. Load DL with a 5 initially, and make sure that your results is a 16-bit number. 4- Determine the contents of the registers and the carry flag after execution the following program: MOV AX, 5 MOV BL, 7 MOV CX, 4823H MUL BL ААМ OR AX, 3030H OR CX, 0600H AND CX, OFFFCH XOR CX, 1000Н ADD CH, CL 5- Determine the contents of the registers and the carry flag after execution the following рrogram: MOV AX, 198 MOV CX, 100 MOV DX, 0 DIV CX AAM ADD AX, 3030H MOV BX, AX XCHG AX, DX AAM ADD AX, 3030H
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Logic Gate and Its Application
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, electrical-engineering and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Electric Motor Control
Electric Motor Control
Electrical Engineering
ISBN:
9781133702818
Author:
Herman
Publisher:
CENGAGE L