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 each
Division: A/B / C 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: Contents of DATA Segment BEFORE Execution
DS:0000 DS:0001 DS:0002 DS:0003 DS:0004 DS:0005 DS:0006 DS:0007
CS: 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
DS:0000 DATA SEGMENT
DS:
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: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


Microprocessor _MIC-Assembly Language Program Sheet:
Enter this data before starting execution:

Status of following after execution


Register FLAGS Status
AH AL OF
AX
DF
BH BL IF
BX
TF
CH CL SF
CX
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