Article View: att.lang.c++
Article #245Re: easy question from a beginer!
From: Heiko Groftschik
Date: Tue, 28 Jan 1997 00:00
Date: Tue, 28 Jan 1997 00:00
39 lines
1283 bytes
1283 bytes
bastards wrote:
>
> I am trying to use an Inline Assembly command in my Borland C++ 3.1 (DOS)
> it looks somethings like that:
>
> class test{
> void ErrorProc(){
> int i;
> asm{
> mov ax,0x45;
> }
> }
> };
>
> main(){
> };
>
Do it as follows :
class test
{
void ErrorProc();
};
void test::ErrorProc()
{
int i;
asm
{
mov ax,0x45;
}
}
try it, if it don't works, you can mail me again!
Bye
Technical Details
Message-ID:
<32EDC028.3222@uni-koblenz.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<01bc0cab$86fe87a0$3464fdcf@pboucher.videotron.ca>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,850a1f0a5bb44702 X-Google-Attributes: gid109fba,public X-Google-Thread: 108b44,850a1f0a5bb44702 X-Google-Attributes: gid108b44,public X-Google-Thread: 10d4ba,850a1f0a5bb44702 X-Google-Attributes: gid10d4ba,public From: Heiko Groftschik <aurum@uni-koblenz.de> Subject: Re: easy question from a beginer! Date: 1997/01/28 Message-ID: <32EDC028.3222@uni-koblenz.de> X-Deja-AN: 212709792 references: <01bc0cab$86fe87a0$3464fdcf@pboucher.videotron.ca> to: bastards <bastards@ntic.qc.ca> content-type: text/plain; charset=us-ascii organization: University Koblenz / Germany mime-version: 1.0 reply-to: aurum@uni-koblenz.de newsgroups: att.lang.c++,comp.lang.c++,comp.sys.lang.c++ x-mailer: Mozilla 3.01 (WinNT; I)