Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
191 B
2
Indexable
Never
void main(void)
{
	unsigned char *msg = "TEST$";

	asm {
		push ds
		mov ax, 0x0003
		int 0x10

		mov eax, msg
		mov dx, ax
		shr eax, 16
		mov ds, ax
		mov ah, 0x09
		int 0x21
		pop ds
	}
}
Leave a Comment