Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted by doles ( 18 years ago )
.model small
.stack 100h

.data
napis db 'Witaj w trybie graficznym!,$'

.code
start:
	
	;mov ah,00 ;wchodzimy do trybu graficznego
	;mov al,13h ; takie preferencje: 320x200 Graphics, 256 colors, 1 page
	;int 10h
	mov ax, @data
	mov ds,ax
	mov ah, 00
	mov al, 03h
	int 10h
	
	;mov ah, 9
	;mov dx, offset napis
	;int 21h
	mov ah, 9
	mov al, 44h
	mov bh, 0
	mov bl, 01101110b
	mov cx,32
	int 10h
         
	mov ah,1
	int 21h
	mov		ax, 4C00h		; the exit fuction  [4C+no error (00)]
	int		21h
	
end start

 

Revise this Paste

Your Name: Code Language: