Vous êtes sur la page 1sur 2

Microprocessor _MIC-Assembly Language Program Sheet:

Class:CO4I ;Author : Roll no. Name:


;Instruction : Write Every program in notebook with description of
Division: A/B / C each instruction starting with ";" add lines if required?

;Program:
Memory OPCODE from
Address debug screen
CODE SEGMENT ;start of code segment
CS:0000 ASSUME CS:CODE,DS:DATA
CS:
CS:
CS:
CS:
CS:
CS:
CS:

DS:0000 DATA SEGMENT


DS:
Microprocessor _MIC-Assembly Language Program Sheet:

Contents of DATA Segment BEFORE Execution Enter this data before starting execution:
DS:0000 DS:0001 DS:0002 DS:0003 DS:0004 DS:0005 DS:0006 DS:0007
DS:0000
DS:0008 DS:0009 DS:000A DS:000B DS:000C DS:000D DS:000E DS:000F
DS:0008
DS:0010 DS:0011 DS:0012 DS:0013 DS:0014 DS:0015 DS:0016 DS:0017
DS:0010
DS:0018 DS:0019 DS:001A DS:001B DS:001C DS:001D DS:001E DS:001F
DS:0018
DS:0020
DS:0020

May add more lines if required


Contents of DATA Segment AFTER Execution
Enter this when BLUE line is on MOV AH,4CH
DS:0000 DS:0001 DS:0002 DS:0003 DS:0004 DS:0005 DS:0006 DS:0007
DS:0000
DS:0008 DS:0009 DS:000A DS:000B DS:000C DS:000D DS:000E DS:000F
DS:0008

DS:0010
DS:0010 DS:0011 DS:0012 DS:0013 DS:0014 DS:0015 DS:0016 Status
DS:0017 of following after execution

DS:0018 DS:0019 DS:001A DS:001B DS:001C DS:001D


Register
DS:001E DS:001F
FLAGS Status
DS:0018 AH AL OF
AX
DS:0020 DF
DS:0020 BH BL IF
BX
TF
CH CL SF
CX
May add more lines if required ZF
DH DL X
DX
AC-F
CS X
DS PF
ES X
SS CF
BP
SP
SI
DI
IP

Vous aimerez peut-être aussi