Need help on assembly in Dev C++.

i know that Dev C++ uses AT&T instead of Intel.
but i need to know how to use int 10h in Dev C++.
can anyone show give me the code?

Recommended Answers

All 2 Replies

DONT use 10h graphics. Im assuming you have

mov ax, 0x13 or whatever
int 10h

This WONT work in dev C++ as it is a 32 bit compiler. You need to use a 16 bit compiler such as DJGPP! Or get a tutorial on VBE which IS 32 bit graphics.

But the correct syntax is

asm("int $0x10"); i think.... its been a while :)

so i can't use interrupts in Dev C++...
il just have to find another compiler...

thanks a lot..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.