MOV instruction part1

JawaherFadhil 397 views 9 slides May 06, 2020
Slide 1
Slide 1 of 9
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9

About This Presentation

MOV instruction part1
DOSBOX: https://www.youtube.com/watch?v=w44iSpLJDgw


Slide Content

MOV instruction University of Duhok, Computer Science Dept . Department of Computer Science First-Year( 2 nd course ) 2019-2020 Jawaher A. Fadhil

MOV destination, source 16-bit , 16-bit 8-bit , 8-bit Register [ Memory ] Register [ Memory ] Immediate Except CS,DS,ES,SS By: Jawaher A. Fadhil Computer Science Dept.

Example#1 MOV AX,5FFh MOV CX,AX MOV BL,AH MOV AL,00 MOV BH,0E MOV AH,BH MOV CX,AX AX= 05 FF CX= 05 FF BX= 05 XX AX= 05 00 BX= 0E 05 AX= 0E 00 CX= 0E 00 Department of Computer Science By: Jawaher A. Fadhil Computer Science Dept.

By: Jawaher A. Fadhil Computer Science Dept. https://www.youtube.com/watch?v=w44iSpLJDgw

By: Jawaher A. Fadhil Computer Science Dept.

By: Jawaher A. Fadhil Computer Science Dept.

Assignment#1 What is the value of DX, BX registers after executing the following instructions? MOV DX,2670 MOV BX,92 MOV DL,BH MOV DL,8A MOV BX,DX MOV BH,0C MOV DL,9 Department of Computer Science DX BX

Assignment#1 Write an assembly program to swap the content of AX=5F3H with CX= 1940H registers? using MOV instruction only? Department of Computer Science