Professional Documents
Culture Documents
jmp start
Length: dw 11
A_ID: db 'bc1111'
B_ID: db '22222'
Length1: dw 6
Length2: dw 5
clrscr : push es
push ax
push cx
push di
mov es, ax
xor di, di
cld
rep stosw
pop di
pop cx
pop ax
pop es
ret
Pri_Str: push bp
mov bp, sp
push es
push ax
push cx
push si
push di
mov es, ax
mov al, 80
shl ax, 1
mov di, ax
cld
nextchar: lodsb
stosw
loop nextchar
pop di
pop si
pop cx
pop ax
pop es
pop bp
ret 10
mov ax , 40
push ax
mov ax,12
push ax
mov ax, 2h
push ax
push ax
call Pri_Str
mov ax, 46
push ax
mov ax,12
push ax
mov ax, 4h
push ax
push ax
call Pri_Str
int 0x20