
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN: 9780133594140
Author: James Kurose, Keith Ross
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Question
![Lab Procedure (1)
Add two numbers 05h and 04h and display it on monitor?
edit: CAMY HP\snap vedio\MP LABMP LAB IT\MP tutorials\ADD2*.asm
file edit bookmarks assembler emulator math ascii codes help
D
open examples
save
compile emulate calculator convertor options
new
01 ORG 100H
02
03 aa EQU 05H
04 bb EQU 04H
05
06
07 MOV AL, aa
08 MOV CL. bb
09 ADD AL CL
10
11 ADD AL. 30h
12
13 MOV DL, AL
14 MOV AH, 02h
15 INT 21h
16
17 RET
To display the result on display
Lab Procedure (2)
Write assembly code to find average of 4 eight bit numbers according to following tables:
CAMY HP vedio MP LABMP LAB ITMP tutorialAVERAGE asm
edit bookmarks assembler emulator math ascii codes help
open examples
ORG 100H
83 MOV SI,500H
84
85 MOV [SI1,04
compile emulate calculator convertor options help about
Input data 04
Offset
03 04 05 08
500 501 502 503 504
Output Data
Offset
05
600
06 MOV CL, ISII
08 MOV ISI-11,03
09 MOV ISI 21.04
18 MOV ISI-31.05
11 MOV ISI-41.08
12
13 MOV DI,600H
14 MOV AX.0000H
15 MOV CL. ISII
16
17 MOV BL.CL
18 INC SI
19
20 ADDITION: ADD AL. [SI]
21 ADC AH, 00H
22 INC SI
23 DEC CL
24 JNZ ADDITION
25 DIV BL
26 MOV IDI), AX
HLT
H.W(5)
Set the two 16-bit number in Register AX, BX and find the greater number and
store it at CX register?
200
Using the eum8086
app
10](https://content.bartleby.com/qna-images/question/2943b2d9-a6e4-4baa-a0ce-023a62522d11/22c848e7-c255-4775-92c2-785589530ff5/l47uglq_thumbnail.jpeg)
Transcribed Image Text:Lab Procedure (1)
Add two numbers 05h and 04h and display it on monitor?
edit: CAMY HP\snap vedio\MP LABMP LAB IT\MP tutorials\ADD2*.asm
file edit bookmarks assembler emulator math ascii codes help
D
open examples
save
compile emulate calculator convertor options
new
01 ORG 100H
02
03 aa EQU 05H
04 bb EQU 04H
05
06
07 MOV AL, aa
08 MOV CL. bb
09 ADD AL CL
10
11 ADD AL. 30h
12
13 MOV DL, AL
14 MOV AH, 02h
15 INT 21h
16
17 RET
To display the result on display
Lab Procedure (2)
Write assembly code to find average of 4 eight bit numbers according to following tables:
CAMY HP vedio MP LABMP LAB ITMP tutorialAVERAGE asm
edit bookmarks assembler emulator math ascii codes help
open examples
ORG 100H
83 MOV SI,500H
84
85 MOV [SI1,04
compile emulate calculator convertor options help about
Input data 04
Offset
03 04 05 08
500 501 502 503 504
Output Data
Offset
05
600
06 MOV CL, ISII
08 MOV ISI-11,03
09 MOV ISI 21.04
18 MOV ISI-31.05
11 MOV ISI-41.08
12
13 MOV DI,600H
14 MOV AX.0000H
15 MOV CL. ISII
16
17 MOV BL.CL
18 INC SI
19
20 ADDITION: ADD AL. [SI]
21 ADC AH, 00H
22 INC SI
23 DEC CL
24 JNZ ADDITION
25 DIV BL
26 MOV IDI), AX
HLT
H.W(5)
Set the two 16-bit number in Register AX, BX and find the greater number and
store it at CX register?
200
Using the eum8086
app
10
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 2 steps

Knowledge Booster
Recommended textbooks for you
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY

Computer Networking: A Top-Down Approach (7th Edi...
Computer Engineering
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:PEARSON

Computer Organization and Design MIPS Edition, Fi...
Computer Engineering
ISBN:9780124077263
Author:David A. Patterson, John L. Hennessy
Publisher:Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:9781337569330
Author:Jill West, Tamara Dean, Jean Andrews
Publisher:Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:9781337093422
Author:Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:9780133750423
Author:VENIT, Stewart
Publisher:Pearson Education

Sc Business Data Communications and Networking, T...
Computer Engineering
ISBN:9781119368830
Author:FITZGERALD
Publisher:WILEY