From: "Michael Garrett" <michaelgarrett@csi.com>
Subject: Re: Gnat Asm Insertion Question
Date: Mon, 22 Oct 2001 23:12:10 -0500
Date: 2001-10-23T04:14:12+00:00 [thread overview]
Message-ID: <9r2qqk$bod$1@suaar1ac.prod.compuserve.com> (raw)
In-Reply-To: 9r1bqc$nsp$1@suaar1aa.prod.compuserve.com
Michael Garrett <michaelgarrett@csi.com> wrote in message
news:9r1bqc$nsp$1@suaar1aa.prod.compuserve.com...
I chaged the code to read:
The LF and HT's in the right spot along with having the correct movl
operand size corrected the issue.
Thanks to everyone for the help. ( I will need more ......... )
Asm (Latin_1.LF & Latin_1.HT &
"movl %%cr0,%%eax; " & Latin_1.LF & Latin_1.HT &
"or $0x0001,%%eax; " & Latin_1.LF & Latin_1.HT &
"movl %%eax,%%cr0; " & Latin_1.LF & Latin_1.HT &
"ljmp $0x10,$1f; " & Latin_1.LF &
"1: " & Latin_1.LF &
Latin_1.HT &
"movl $0x18,%%eax; " & Latin_1.LF & Latin_1.HT &
"movl %%ax,%%ds; " & Latin_1.LF & Latin_1.HT &
"movl %%ax,%%es; " & Latin_1.LF & Latin_1.HT &
"movl %%ax,%%fs; " & Latin_1.LF & Latin_1.HT &
"movl %%ax,%%gs; " & Latin_1.LF & Latin_1.HT &
"movl %%ax,%%ss; ",
No_Output_Operands,
No_Input_Operands);
next prev parent reply other threads:[~2001-10-23 4:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-22 11:20 Gnat Asm Insertion Question Michael Garrett
2001-10-22 11:26 ` Lutz Donnerhacke
2001-10-22 12:37 ` Florian Weimer
2001-10-22 14:50 ` Michael Garrett
2001-10-22 14:57 ` Lutz Donnerhacke
2001-10-22 15:04 ` Florian Weimer
2001-10-23 4:12 ` Michael Garrett [this message]
2001-10-22 18:50 ` FGD
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox