String - mov dl,seat[2 int 21h i mov ah,02 mov dl,seat[3 int 21h i mov ah,02 mov dl,seat[4 int 21h i mov ah,02 mov dl,seat[5 int 21h i mov ah,02

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
.model medium .stack 100h .data name1 db "Arsalan Shahid Chishti $" class db 'BSCS-II $' seat db "B07101020" rollno db 100 r .code main proc mov ax,@data mov ds,ax ;PRINTING THE STRING mov ah,9 mov dx,offset name1 int 21h ;LINE CHANGE mov ah,02 mov dl,0ah int 21h ;PRINTING THE CHARACTERS mov ah,9 mov dx,offset class int 21h ;LINE CHANGE mov ah,02 mov dl,0ah int 21h ;Printing Seat Number mov ah,02 mov dl,seat[0] int 21h i mov ah,02 mov dl,seat[1] int 21h i mov ah,02
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: mov dl,seat[2] int 21h i mov ah,02 mov dl,seat[3] int 21h i mov ah,02 mov dl,seat[4] int 21h i mov ah,02 mov dl,seat[5] int 21h i mov ah,02 mov dl,seat[6] int 21h i mov ah,02 mov dl,seat[7] int 21h i mov ah,02 mov dl,seat[8] int 21h i ;LINE CHANGE mov ah,02 mov dl,0ah int 21h ;PRINTING INTEGER mov ah,02 mov dl, rollno add dl,-30h int 21h i mov ax,4c00h int 21h main endp end main...
View Full Document

This note was uploaded on 11/06/2010 for the course UBIT 411 taught by Professor Saleemelahi during the Spring '10 term at University of Karachi.

Page1 / 2

String - mov dl,seat[2 int 21h i mov ah,02 mov dl,seat[3 int 21h i mov ah,02 mov dl,seat[4 int 21h i mov ah,02 mov dl,seat[5 int 21h i mov ah,02

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online