Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
100%
(1)
100% found this document useful (1 vote)
266 views
Assembly Code Example
library system
Uploaded by
ابن اليمن
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Assembly Code Example For Later
Download
Save
Save Assembly Code Example For Later
100%
100% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
100%
(1)
100% found this document useful (1 vote)
266 views
Assembly Code Example
library system
Uploaded by
ابن اليمن
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Assembly Code Example For Later
Carousel Previous
Carousel Next
Download
Save
Save Assembly Code Example For Later
100%
100% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 4
Search
Fullscreen
Ex_1: Using emu8086 program, write a program in Assembly language that performs the following tasks, showing the contents of the affected registers, mémory locations and fags: 2. Initialize AX and SI registers with the Immediate value 1520H and 0300H respectively. b, Save the immediate value 3040H at the data segment memory location addressed by SI. c. Add the word contents at the data segment memory location addressed by Si to AX with the sum stored at the AX register. oem ements emuaer ob ashcods hp oe. 8.8 + 6 o|t ¢ = ee ea eee org EX mT mov ax. 1520h mov si, 6300h ib mov dsifsil, 3040h BaMTREH=SSSIAR add ax,[si] Ex, Using emu8086 program, write a program in Assembly language that performs the following tasks, showing the contents of the affected registers, memory locations and flags: 2 Initialize AX and DX registers with the immediate values 1234h and 5678H respectively b, Subtract the word content of AX register from the word content of DX res the difference stored In the DX register. mov de, 5 sub dx, ax!Ex. Using emu8086 program, write @ program in Assembly language that performs the following tasks, showing the contents ofthe affected registers, memory locations and flags’ 2. {Initialize AL, BL,CL and DI. registers with the Immediate data 10h, 20h, 30h, and 40h respectively. a b. SWAP between the contents of AX and BX registers. 4. Copy the content of AX register into the data segment memory location addressed by 0200H then Copy the contents of BX and CX registers at the consecutive offset addresses. ©. Copy the cobtent of DX register into the stack segment memory location addressed by 0100h then Copy the Immediate data 4433H and 2211H at the consecutive offset addresses. fle eft bookmerts exrembler emistot_ math exicoves hep os & . G2.) # + &@ @)|2 @ w@ ‘open _ecamrles "sve" comple emule _caledstr convertor options help about i? O7 mov al, T 68 mov bl} 20h 09 mov cl; 1@ mov dl, 40h 1) 12 13 ib 14 is mov cx, ax = 16 mov ax, bx 17 mov bx, oxi 18 13 ic 22 21 B B = >| So e/2 * Sisto erates | esteniter com [orient babe £9200h1, ax @200h+"2h], bx mov [@200h+ 4hEx_4: Using emu8086 program, write a program in Assembly language that performs the following tasks, ‘showing the contents of the affected registers, memory locations and flags: ‘a Copy the string data "NO" into AX register. Initialize the source index register (SI) with the initial value 0200H and the base pointer register (BP) with initial value 0100H then copy the contents of AX register into the stack segment memory locations addressed by SHBP+20H. b. Initialize the destination index register (DI) with initial value 0300h then copy the string data "HELLO" into the extra data segment memory locations addressed by DI+100H. bookmenks esenbler emulator muth eschcodes help os ¢ 8 .| # > | & @/|R ¢ open mamples 7 ze 7 compile _emulite _escustor convertor options help mov 3i; @2B0H nov bp, Q13¢h Rov seilsisbp+20h], ax I pb s2sssssss25 "EH" 5 "OLLEH" +104h], “O° 1
You might also like
SA 1 - Lab Report
PDF
No ratings yet
SA 1 - Lab Report
26 pages
SWIDLAB 07 - BCD To 7-Segment Decoder-Driver
PDF
100% (1)
SWIDLAB 07 - BCD To 7-Segment Decoder-Driver
6 pages
Practice Problems: For The Mechanical Engineering PE Exam
PDF
No ratings yet
Practice Problems: For The Mechanical Engineering PE Exam
5 pages
MPS - Ch07 - AVR - C Programming
PDF
No ratings yet
MPS - Ch07 - AVR - C Programming
92 pages
EEE363 (Exp 2) Study of The Torque Speed Relationship of DC Shunt
PDF
No ratings yet
EEE363 (Exp 2) Study of The Torque Speed Relationship of DC Shunt
6 pages
Sheet 1 Solution
PDF
No ratings yet
Sheet 1 Solution
5 pages
Multisim Tutorial: Component Toolbar
PDF
No ratings yet
Multisim Tutorial: Component Toolbar
9 pages
Memory Segmentation, Generating Memory Address: Mustafa Shakir
PDF
No ratings yet
Memory Segmentation, Generating Memory Address: Mustafa Shakir
94 pages
MCQ in Computer Fundamentals Part 2 ECE Board Exam
PDF
No ratings yet
MCQ in Computer Fundamentals Part 2 ECE Board Exam
18 pages
ES Unit 1
PDF
No ratings yet
ES Unit 1
40 pages
8086 Questions
PDF
No ratings yet
8086 Questions
4 pages
Unit 10 - Week 7: Assignment 7
PDF
No ratings yet
Unit 10 - Week 7: Assignment 7
9 pages
Reduction of Multiple Subsystems
PDF
100% (1)
Reduction of Multiple Subsystems
77 pages
Assignment 1
PDF
No ratings yet
Assignment 1
9 pages
UNIT1
PDF
0% (1)
UNIT1
37 pages
TU3 DC-generator
PDF
No ratings yet
TU3 DC-generator
2 pages
Home Work
PDF
0% (1)
Home Work
3 pages
BJT and Fet Sample Problems
PDF
100% (1)
BJT and Fet Sample Problems
35 pages
Lab 3 Report Final
PDF
No ratings yet
Lab 3 Report Final
13 pages
C Questions
PDF
No ratings yet
C Questions
67 pages
Instruction Classification Unit 2
PDF
No ratings yet
Instruction Classification Unit 2
24 pages
Engineering Lab 5 Machine Lab Lab 1 Report
PDF
No ratings yet
Engineering Lab 5 Machine Lab Lab 1 Report
9 pages
Phys
PDF
No ratings yet
Phys
16 pages
Exercise 1 - Analog To Digital Conversion Point
PDF
No ratings yet
Exercise 1 - Analog To Digital Conversion Point
5 pages
ME 211 CH 6 Example Solutions
PDF
No ratings yet
ME 211 CH 6 Example Solutions
25 pages
FET Biasing
PDF
100% (4)
FET Biasing
48 pages
DC Machinery Fundamentals 2: Internal Generated Voltage and Induced Torque Equation For Real DC Machine
PDF
No ratings yet
DC Machinery Fundamentals 2: Internal Generated Voltage and Induced Torque Equation For Real DC Machine
10 pages
Transformer With Winding Resistance
PDF
No ratings yet
Transformer With Winding Resistance
10 pages
AC Circuit-1
PDF
No ratings yet
AC Circuit-1
58 pages
Experiment Ece Answer Sheet
PDF
No ratings yet
Experiment Ece Answer Sheet
8 pages
Exp 4 Datasheet Diode
PDF
No ratings yet
Exp 4 Datasheet Diode
5 pages
EXP 7i
PDF
No ratings yet
EXP 7i
14 pages
Register Organization of 8086
PDF
No ratings yet
Register Organization of 8086
4 pages
Electronic Devices 9th Edition - CHP 2 Basic Problems
PDF
No ratings yet
Electronic Devices 9th Edition - CHP 2 Basic Problems
9 pages
Lab 04
PDF
No ratings yet
Lab 04
7 pages
DCD Handout
PDF
No ratings yet
DCD Handout
38 pages
Common Refrigerant
PDF
100% (1)
Common Refrigerant
3 pages
Single Phase Ac Circuits - J
PDF
No ratings yet
Single Phase Ac Circuits - J
74 pages
Pic 18
PDF
No ratings yet
Pic 18
78 pages
CS158-1L: Artificial Intelligence Laboratory Machine Problem #1: Getting Started With Python
PDF
No ratings yet
CS158-1L: Artificial Intelligence Laboratory Machine Problem #1: Getting Started With Python
4 pages
Quiz 2 Solution
PDF
No ratings yet
Quiz 2 Solution
5 pages
Homework Mechatronic Chapter 7,8,9 (Fatahul Arifin)
PDF
No ratings yet
Homework Mechatronic Chapter 7,8,9 (Fatahul Arifin)
5 pages
EE21L Experiment 6 1.1
PDF
No ratings yet
EE21L Experiment 6 1.1
9 pages
Control System Lab Manual (Kec-652)
PDF
No ratings yet
Control System Lab Manual (Kec-652)
29 pages
I DT DT DT DT: Class Notes On Electrical Measurements & Instrumentation
PDF
No ratings yet
I DT DT DT DT: Class Notes On Electrical Measurements & Instrumentation
71 pages
Southern Luzon State University: College of Engineering Mechanical Engineering Department
PDF
No ratings yet
Southern Luzon State University: College of Engineering Mechanical Engineering Department
8 pages
Block Diagram
PDF
100% (1)
Block Diagram
29 pages
Chapter 8
PDF
100% (1)
Chapter 8
24 pages
Me101 HW 1
PDF
No ratings yet
Me101 HW 1
2 pages
Summary of MATLAB Onramp PDF
PDF
No ratings yet
Summary of MATLAB Onramp PDF
6 pages
(Part 3) DC Generator
PDF
No ratings yet
(Part 3) DC Generator
34 pages
EJERC TRANSF MONOFASICOS Solut Manual Electric Machinery 4ed Chapman
PDF
No ratings yet
EJERC TRANSF MONOFASICOS Solut Manual Electric Machinery 4ed Chapman
8 pages
Microprocessor Lab Report
PDF
No ratings yet
Microprocessor Lab Report
12 pages
Super Position Theorem
PDF
No ratings yet
Super Position Theorem
18 pages
LN2
PDF
No ratings yet
LN2
16 pages
EIE3343 Lab 1
PDF
No ratings yet
EIE3343 Lab 1
11 pages
sheet1
PDF
No ratings yet
sheet1
1 page
Introduction To 8086 Architecture and Register Set, Use of Emulator and Executing Assembly Language Programs
PDF
No ratings yet
Introduction To 8086 Architecture and Register Set, Use of Emulator and Executing Assembly Language Programs
8 pages
COM353 Lab1 Presentation
PDF
No ratings yet
COM353 Lab1 Presentation
29 pages
Microprocessors AND Microcontrollers Lab ELE306L: Submitted By: Submitted To
PDF
No ratings yet
Microprocessors AND Microcontrollers Lab ELE306L: Submitted By: Submitted To
50 pages
Lec6 1
PDF
No ratings yet
Lec6 1
71 pages
Lec 2
PDF
No ratings yet
Lec 2
46 pages
Lec3 3-1
PDF
No ratings yet
Lec3 3-1
135 pages
8086 Microprocessor
PDF
No ratings yet
8086 Microprocessor
25 pages
Lec1 1
PDF
No ratings yet
Lec1 1
37 pages