Microprocessors and Interfacing Assignment No.2 Lab Manual 1
Microprocessors and Interfacing Assignment No.2 Lab Manual 1
Microprocessors and Interfacing Assignment No.2 Lab Manual 1
ASSIGNMENT NO.2
LAB MANUAL 1
That the starting address of the section of memory holding
code(CS) is 0100h.
RET 0100:001D
RET RET
AH = 00 AH = B8
AX = 0000 AX = B800
DS = 0100 DS = B800
CL = 00 CL = 41
CH = 00 CH = DF
BX = 0000 BX = 015E
CX = 0000 CX = DF41
IP = 0000 IP = FF00
MOV AL,chr
MOV bytevar,AL
XCHG AL,AH
MOV AX,wordvar
MOV AX,0B800h
MOV DS,AX
MOV CL,'A'
; copy the ascii value of character ‘A’ to CL register
MOV CH,1101_1111b
MOV BX,15Eh
MOV [BX],CX
RET