I got some source code on net for displaying 256 bit bmp in turbo c++ which is using some assembly codes (actually using asm---about which I don't know anything). Unfortunately during compilation it give an error saying "286/287 instructions not enabled". Help me troubleshooting this problem.
sanyam.mishra
-1
Newbie Poster
Recommended Answers
Jump to Postpost the assembly code that's in your program, e.g.
asm { mov ax,1 mov bx,ax }
Jump to PostThe problem is that Turbo C++ 3.0 is an ancient 16bit compiler from 1991, and it will, by default, compile the code for the 8086 architecture (which dates back to 1978). The inline assembly in that code you are trying to compile probably uses more "recent" instructions from the 80286/80287 …
All 6 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
mike_2000_17
2,669
21st Century Viking
Team Colleague
Featured Poster
sanyam.mishra
-1
Newbie Poster
sanyam.mishra
-1
Newbie Poster
mike_2000_17
2,669
21st Century Viking
Team Colleague
Featured Poster
sanyam.mishra
-1
Newbie Poster
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.