19.04.2018 Views

Tutorial de ensamblador

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

mov ds,ax<br />

mov es,ax<br />

LIMPIAR MACRO<br />

mov ah,0<br />

mov al,3h<br />

int 10h<br />

mov ax,0600h<br />

mov bh,0fh<br />

mov cx,0000h<br />

mov dx,184Fh<br />

int 10h<br />

mov ah,02h<br />

ENDM<br />

mov bh,00<br />

mov dh,00<br />

mov dl,00<br />

int 10h<br />

IMPRIME MACRO arg1<br />

push ax<br />

push dx<br />

lea dx,arg1<br />

mov ah,9<br />

int 21h<br />

pop dx<br />

pop ax<br />

ENDM<br />

60

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!