Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
211 B
2
Indexable
Never
#include <stdio.h>
#include <conio.h>

void main(void)
{
	unsigned char *msg = "TEST$";

	asm {
		push ds
                mov ax, SEG msg
		mov ds, ax
		mov dx, OFFSET msg
		mov ah, 0x09
		int 0x21
		pop ds
	}
}
Leave a Comment